
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 1.7.1 API)
org.spincast.plugins.undertow
Class GzipCheckerHandlerDefault
- java.lang.Object
-
- org.spincast.plugins.undertow.GzipCheckerHandlerDefault
-
- All Implemented Interfaces:
- io.undertow.server.HttpHandler, GzipCheckerHandler
public class GzipCheckerHandlerDefault
extends Object
implements GzipCheckerHandler
-
-
Constructor Summary
Constructors
Constructor and Description
GzipCheckerHandlerDefault(io.undertow.server.HttpHandler nextHandler,
String specificTargetFilePath,
SpincastUtils spincastUtils)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
protected io.undertow.server.handlers.encoding.EncodingHandler
getGzipNoNextHandler()
protected io.undertow.server.HttpHandler
getNextHandler()
protected String
getResponseContentType(io.undertow.server.HttpServerExchange exchange)
protected String
getSpecificTargetFilePath()
protected SpincastUtils
getSpincastUtils()
void
handleRequest(io.undertow.server.HttpServerExchange exchange)
protected boolean
isContentTypeToSkipGziping(io.undertow.server.HttpServerExchange exchange)
-
-
Constructor Detail
-
GzipCheckerHandlerDefault
public GzipCheckerHandlerDefault(io.undertow.server.HttpHandler nextHandler,
@Nullable
String specificTargetFilePath,
SpincastUtils spincastUtils)
-
Method Detail
-
getNextHandler
protected io.undertow.server.HttpHandler getNextHandler()
-
getSpincastUtils
protected SpincastUtils getSpincastUtils()
-
getSpecificTargetFilePath
protected String getSpecificTargetFilePath()
-
getGzipNoNextHandler
protected io.undertow.server.handlers.encoding.EncodingHandler getGzipNoNextHandler()
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange)
throws Exception
- Specified by:
handleRequest
in interface io.undertow.server.HttpHandler
- Throws:
Exception
-
isContentTypeToSkipGziping
protected boolean isContentTypeToSkipGziping(io.undertow.server.HttpServerExchange exchange)
-
getResponseContentType
protected String getResponseContentType(io.undertow.server.HttpServerExchange exchange)
Copyright © 2019. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy