Package org.eclipse.jetty.server
Class ResourceService
java.lang.Object
org.eclipse.jetty.server.ResourceService
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Abstract resource service, used by DefaultServlet and ResourceHandler
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
doGet
(HttpServletRequest request, HttpServletResponse response) Deprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
isEtags()
Deprecated.boolean
Deprecated.boolean
Deprecated.void
setAcceptRanges
(boolean acceptRanges) Deprecated.void
setCacheControl
(HttpField cacheControl) Deprecated.void
setContentFactory
(HttpContent.ContentFactory contentFactory) Deprecated.void
setDirAllowed
(boolean dirAllowed) Deprecated.void
setEncodingCacheSize
(int encodingCacheSize) Deprecated.void
setEtags
(boolean etags) Deprecated.void
setGzipEquivalentFileExtensions
(List<String> gzipEquivalentFileExtensions) Deprecated.void
setPathInfoOnly
(boolean pathInfoOnly) Deprecated.void
setPrecompressedFormats
(CompressedContentFormat[] precompressedFormats) Deprecated.void
setRedirectWelcome
(boolean redirectWelcome) Deprecated.void
setWelcomeFactory
(ResourceService.WelcomeFactory welcomeFactory) Deprecated.
-
Constructor Details
-
ResourceService
public ResourceService()Deprecated.
-
-
Method Details
-
getContentFactory
Deprecated. -
setContentFactory
Deprecated. -
getWelcomeFactory
Deprecated. -
setWelcomeFactory
Deprecated. -
isAcceptRanges
public boolean isAcceptRanges()Deprecated. -
setAcceptRanges
public void setAcceptRanges(boolean acceptRanges) Deprecated. -
isDirAllowed
public boolean isDirAllowed()Deprecated. -
setDirAllowed
public void setDirAllowed(boolean dirAllowed) Deprecated. -
isRedirectWelcome
public boolean isRedirectWelcome()Deprecated. -
setRedirectWelcome
public void setRedirectWelcome(boolean redirectWelcome) Deprecated. -
getPrecompressedFormats
Deprecated. -
setPrecompressedFormats
Deprecated. -
setEncodingCacheSize
public void setEncodingCacheSize(int encodingCacheSize) Deprecated. -
getEncodingCacheSize
public int getEncodingCacheSize()Deprecated. -
isPathInfoOnly
public boolean isPathInfoOnly()Deprecated. -
setPathInfoOnly
public void setPathInfoOnly(boolean pathInfoOnly) Deprecated. -
isEtags
public boolean isEtags()Deprecated. -
setEtags
public void setEtags(boolean etags) Deprecated. -
getCacheControl
Deprecated. -
setCacheControl
Deprecated. -
getGzipEquivalentFileExtensions
Deprecated. -
setGzipEquivalentFileExtensions
Deprecated. -
doGet
public boolean doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException Deprecated.- Throws:
ServletException
IOException
-