Interface ServletContextHandler.ServletResponseInfo
- All Known Implementing Classes:
ServletContextResponse
- Enclosing class:
ServletContextHandler
public static interface ServletContextHandler.ServletResponseInfo
The interface used by
ServletApiResponse to access the ServletContextResponse without
access to the unwrapped Response methods.-
Method Summary
Modifier and TypeMethodDescriptiongetCharacterEncoding(boolean setContentType) booleanvoidsetCharacterEncoding(String encoding, ServletContextResponse.EncodingFrom encodingFrom) voidvoidsetOutputType(ServletContextResponse.OutputType outputType) voidsetTrailers(Supplier<Map<String, String>> trailers) voidsetWriter(ResponseWriter responseWriter)
-
Method Details
-
getCharacterEncoding
-
getCharacterEncoding
String getCharacterEncoding() -
getContentType
String getContentType() -
getEncodingFrom
ServletContextResponse.EncodingFrom getEncodingFrom() -
getLocale
Locale getLocale() -
getOutputType
ServletContextResponse.OutputType getOutputType() -
getResponse
Response getResponse() -
getTrailers
-
getWriter
ResponseWriter getWriter() -
isWriting
boolean isWriting() -
setCharacterEncoding
-
setLocale
-
setOutputType
-
setTrailers
-
setWriter
-