Package org.eclipse.jetty.ee10.servlet
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) boolean
void
setCharacterEncoding
(String encoding, ServletContextResponse.EncodingFrom encodingFrom) void
void
setOutputType
(ServletContextResponse.OutputType outputType) void
setTrailers
(Supplier<Map<String, String>> trailers) void
setWriter
(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
-