org.eclipse.jetty.http.HttpContent.Factorypublic class ResourceContentFactory
extends java.lang.Object
implements org.eclipse.jetty.http.HttpContent.Factory
| Constructor | Description |
|---|---|
ResourceContentFactory(org.eclipse.jetty.util.resource.ResourceFactory factory,
org.eclipse.jetty.http.MimeTypes mimeTypes,
boolean gzip) |
| 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,
boolean gzip)
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.Factoryjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1995–2018 Webtide. All rights reserved.