public class ResourceContentFactory extends Object implements HttpContent.Factory
| Constructor and Description |
|---|
ResourceContentFactory(org.eclipse.jetty.util.resource.ResourceFactory factory,
MimeTypes mimeTypes,
boolean gzip) |
| Modifier and Type | Method and Description |
|---|---|
HttpContent |
getContent(String pathInContext,
int maxBufferSize) |
String |
toString() |
public ResourceContentFactory(org.eclipse.jetty.util.resource.ResourceFactory factory,
MimeTypes mimeTypes,
boolean gzip)
public HttpContent getContent(String pathInContext, int maxBufferSize) throws IOException
getContent in interface HttpContent.FactoryIOExceptionCopyright © 1995–2021 Webtide. All rights reserved.