Class CookieResponseWrapper
-
- All Implemented Interfaces:
-
jakarta.servlet.ServletResponse,jakarta.servlet.http.HttpServletResponse
public class CookieResponseWrapper extends HttpServletResponseWrapper- Since:
2021-10-08
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public ServletResponseresponsepublic final static intSC_CONTINUEpublic final static intSC_SWITCHING_PROTOCOLSpublic final static intSC_OKpublic final static intSC_CREATEDpublic final static intSC_ACCEPTEDpublic final static intSC_NON_AUTHORITATIVE_INFORMATIONpublic final static intSC_NO_CONTENTpublic final static intSC_RESET_CONTENTpublic final static intSC_PARTIAL_CONTENTpublic final static intSC_MULTIPLE_CHOICESpublic final static intSC_MOVED_PERMANENTLYpublic final static intSC_MOVED_TEMPORARILYpublic final static intSC_FOUNDpublic final static intSC_SEE_OTHERpublic final static intSC_NOT_MODIFIEDpublic final static intSC_USE_PROXYpublic final static intSC_TEMPORARY_REDIRECTpublic final static intSC_BAD_REQUESTpublic final static intSC_UNAUTHORIZEDpublic final static intSC_PAYMENT_REQUIREDpublic final static intSC_FORBIDDENpublic final static intSC_NOT_FOUNDpublic final static intSC_METHOD_NOT_ALLOWEDpublic final static intSC_NOT_ACCEPTABLEpublic final static intSC_PROXY_AUTHENTICATION_REQUIREDpublic final static intSC_REQUEST_TIMEOUTpublic final static intSC_CONFLICTpublic final static intSC_GONEpublic final static intSC_LENGTH_REQUIREDpublic final static intSC_PRECONDITION_FAILEDpublic final static intSC_REQUEST_ENTITY_TOO_LARGEpublic final static intSC_REQUEST_URI_TOO_LONGpublic final static intSC_UNSUPPORTED_MEDIA_TYPEpublic final static intSC_REQUESTED_RANGE_NOT_SATISFIABLEpublic final static intSC_EXPECTATION_FAILEDpublic final static intSC_INTERNAL_SERVER_ERRORpublic final static intSC_NOT_IMPLEMENTEDpublic final static intSC_BAD_GATEWAYpublic final static intSC_SERVICE_UNAVAILABLEpublic final static intSC_GATEWAY_TIMEOUTpublic final static intSC_HTTP_VERSION_NOT_SUPPORTED
-
Constructor Summary
Constructors Constructor Description CookieResponseWrapper(HttpServletResponse response, Function<Cookie, Cookie> writer)
-
Method Summary
Modifier and Type Method Description voidaddCookie(Cookie cookie)-
Methods inherited from class jakarta.servlet.ServletResponseWrapper
flushBuffer, getBufferSize, getCharacterEncoding, getContentType, getLocale, getOutputStream, getResponse, getWriter, isCommitted, isWrapperFor, reset, resetBuffer, setBufferSize, setCharacterEncoding, setContentLength, setContentLengthLong, setContentType, setLocale, setResponse -
Methods inherited from class jakarta.servlet.http.HttpServletResponseWrapper
addDateHeader, addHeader, addIntHeader, containsHeader, encodeRedirectURL, encodeURL, getHeader, getHeaderNames, getHeaders, getStatus, getTrailerFields, sendError, sendRedirect, setDateHeader, setHeader, setIntHeader, setStatus, setTrailerFields -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-