org.eclipse.jetty.http.HttpContent.ContentFactorypublic class ResourceContentFactory
extends java.lang.Object
implements org.eclipse.jetty.http.HttpContent.ContentFactory
| Constructor | Description |
|---|---|
ResourceContentFactory(org.eclipse.jetty.util.resource.ResourceFactory factory,
org.eclipse.jetty.http.MimeTypes mimeTypes,
org.eclipse.jetty.http.CompressedContentFormat[] precompressedFormats) |
| Modifier and Type | Method | Description |
|---|---|---|
org.eclipse.jetty.http.HttpContent |
getContent(java.lang.String pathInContext,
int maxBufferSize) |
|
java.lang.String |
toString() |
public ResourceContentFactory(org.eclipse.jetty.util.resource.ResourceFactory factory,
org.eclipse.jetty.http.MimeTypes mimeTypes,
org.eclipse.jetty.http.CompressedContentFormat[] precompressedFormats)
public org.eclipse.jetty.http.HttpContent getContent(java.lang.String pathInContext,
int maxBufferSize)
throws java.io.IOException
getContent in interface org.eclipse.jetty.http.HttpContent.ContentFactoryjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1995–2018 Webtide. All rights reserved.