Package com.helger.phase4.servlet
Class AS4UnifiedResponse
java.lang.Object
com.helger.servlet.response.UnifiedResponse
com.helger.phase4.servlet.AS4UnifiedResponse
public class AS4UnifiedResponse
extends com.helger.servlet.response.UnifiedResponse
Special
UnifiedResponse class with some sanity methods.- Author:
- Philip Helger
-
Field Summary
Fields inherited from class com.helger.servlet.response.UnifiedResponse
DEFAULT_ALLOW_CONTENT_ON_REDIRECT, DEFAULT_ALLOW_CONTENT_ON_STATUS_CODE, DEFAULT_CONTENT_DISPOSITION_TYPE, DEFAULT_WARN_ON_DUPLICATE_COOKIES, MAX_CSS_KB_FOR_IE -
Constructor Summary
ConstructorsConstructorDescriptionAS4UnifiedResponse(@NonNull com.helger.http.EHttpVersion eHTTPVersion, @NonNull com.helger.http.EHttpMethod eHTTPMethod, @NonNull jakarta.servlet.http.HttpServletRequest aHttpRequest) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetResponseError(int nStatusCode, @NonNull String sMsg, @Nullable Throwable t) Methods inherited from class com.helger.servlet.response.UnifiedResponse
addCookie, addCustomResponseHeader, addCustomResponseHeaders, applyToResponse, cacheControl, createSimple, disableCaching, enableCaching, getAllCookies, getCharset, getContentDispositionFilename, getContentDispositionType, getHttpMethod, getHttpVersion, getLogPrefix, getMimeType, getRequestURL, getStatusCode, hasContent, hasCookies, isAllowContentOnRedirect, isAllowContentOnStatusCode, isHttpHeaderValuesQuoteIfNecessary, isHttpHeaderValuesUnified, isRedirectDefined, isSilentMode, isStatusCodeDefined, isWarnOnDuplicateCookies, logError, logInfo, logWarn, removeAllCookies, removeCacheControl, removeCaching, removeCharset, removeContent, removeContentDispositionFilename, removeCookie, removeCustomResponseHeaders, removeETag, removeExpires, removeLastModified, removeMimeType, removeStrictTransportSecurity, removeXFrameOptions, responseHeaderMap, setAllowContentOnRedirect, setAllowContentOnStatusCode, setAllowMimeSniffing, setCacheControl, setCharset, setContent, setContent, setContent, setContentAndCharset, setContentDispositionFilename, setContentDispositionType, setCustomResponseHeader, setCustomResponseHeaders, setDownloadFilename, setEmptyContent, setETag, setETagIfApplicable, setExpires, setHttpHeaderValuesQuoteIfNecessary, setHttpHeaderValuesUnified, setLastModified, setMimeType, setMimeTypeString, setRedirect, setRedirect, setRedirect, setRedirect, setSilentMode, setStatus, setStatusUnauthorized, setStrictTransportSecurity, setWarnOnDuplicateCookies, setXFrameOptions, showRequestInfo
-
Constructor Details
-
AS4UnifiedResponse
public AS4UnifiedResponse(@NonNull com.helger.http.EHttpVersion eHTTPVersion, @NonNull com.helger.http.EHttpMethod eHTTPMethod, @NonNull jakarta.servlet.http.HttpServletRequest aHttpRequest)
-
-
Method Details
-
setResponseError
-