Package org.eclipse.jetty.server
Class ResourceService
- java.lang.Object
-
- org.eclipse.jetty.server.ResourceService
-
@Deprecated(since="2021-05-27") public class ResourceService extends Object
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 Modifier and Type Class Description static interface
ResourceService.WelcomeFactory
Deprecated.
-
Constructor Summary
Constructors Constructor Description ResourceService()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
doGet(HttpServletRequest request, HttpServletResponse response)
Deprecated.HttpField
getCacheControl()
Deprecated.HttpContent.ContentFactory
getContentFactory()
Deprecated.int
getEncodingCacheSize()
Deprecated.List<String>
getGzipEquivalentFileExtensions()
Deprecated.CompressedContentFormat[]
getPrecompressedFormats()
Deprecated.ResourceService.WelcomeFactory
getWelcomeFactory()
Deprecated.boolean
isAcceptRanges()
Deprecated.boolean
isDirAllowed()
Deprecated.boolean
isEtags()
Deprecated.boolean
isPathInfoOnly()
Deprecated.boolean
isRedirectWelcome()
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.
-
-
-
Method Detail
-
getContentFactory
public HttpContent.ContentFactory getContentFactory()
Deprecated.
-
setContentFactory
public void setContentFactory(HttpContent.ContentFactory contentFactory)
Deprecated.
-
getWelcomeFactory
public ResourceService.WelcomeFactory getWelcomeFactory()
Deprecated.
-
setWelcomeFactory
public void setWelcomeFactory(ResourceService.WelcomeFactory welcomeFactory)
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
public CompressedContentFormat[] getPrecompressedFormats()
Deprecated.
-
setPrecompressedFormats
public void setPrecompressedFormats(CompressedContentFormat[] precompressedFormats)
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
public HttpField getCacheControl()
Deprecated.
-
setCacheControl
public void setCacheControl(HttpField cacheControl)
Deprecated.
-
setGzipEquivalentFileExtensions
public void setGzipEquivalentFileExtensions(List<String> gzipEquivalentFileExtensions)
Deprecated.
-
doGet
public boolean doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
Deprecated.- Throws:
ServletException
IOException
-
-