
public.javadoc.org.spincast.plugins.undertow.GzipCheckerHandlerDefault.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
GzipCheckerHandlerDefault (org.spincast:spincast-framework 2.1.1 API)
Package org.spincast.plugins.undertow
Class GzipCheckerHandlerDefault
java.lang.Object
org.spincast.plugins.undertow.GzipCheckerHandlerDefault
- All Implemented Interfaces:
io.undertow.server.HttpHandler
, GzipCheckerHandler
-
Constructor Summary
Constructors
Constructor
Description
GzipCheckerHandlerDefault(io.undertow.server.HttpHandler nextHandler,
String specificTargetFilePath,
SpincastUtils spincastUtils)
-
Method Summary
Modifier and Type
Method
Description
protected io.undertow.server.handlers.encoding.EncodingHandler
protected io.undertow.server.HttpHandler
protected String
getResponseContentType(io.undertow.server.HttpServerExchange exchange)
protected String
protected SpincastUtils
void
handleRequest(io.undertow.server.HttpServerExchange exchange)
protected boolean
isContentTypeToSkipGziping(io.undertow.server.HttpServerExchange exchange)
-
Constructor Details
-
GzipCheckerHandlerDefault
public GzipCheckerHandlerDefault(io.undertow.server.HttpHandler nextHandler,
@Nullable
String specificTargetFilePath,
SpincastUtils spincastUtils)
-
Method Details
-
getNextHandler
protected io.undertow.server.HttpHandler getNextHandler()
-
getSpincastUtils
-
getSpecificTargetFilePath
-
getGzipNoNextHandler
protected io.undertow.server.handlers.encoding.EncodingHandler getGzipNoNextHandler()
-
handleRequest
- Specified by:
handleRequest
in interface io.undertow.server.HttpHandler
- Throws:
Exception
-
isContentTypeToSkipGziping
protected boolean isContentTypeToSkipGziping(io.undertow.server.HttpServerExchange exchange)
-
getResponseContentType
© 2015 - 2025 Weber Informatics LLC | Privacy Policy