Uses of Interface
org.spincast.core.exchange.ResponseRequestContextAddon
Packages that use ResponseRequestContextAddon
-
Uses of ResponseRequestContextAddon in org.spincast.core.exchange
Methods in org.spincast.core.exchange that return ResponseRequestContextAddonModifier and TypeMethodDescriptionResponseRequestContextAddon.addHeaderValue(String name, String value) Adds a value to a response header.ResponseRequestContextAddon.addHeaderValues(String name, List<String> values) Adds a list of values to a response header.ResponseRequestContextAddon.push(HttpMethod httpMethod, String path, Map<String, List<String>> requestHeaders) IfHTTP/2is used, you can push extra resources at the same time you response to a request.ResponseRequestContextAddon.removeHeader(String name) Removes an header by its name.ResponseRequestContextAddon.resetBuffer()Clears the buffer (the unsent buffer, of course).ResponseRequestContextAddon.resetEverything()Clears the buffer (the unsent buffer, of course!), resets the cookies, the headers, theContent-Typeand sets thestatus codeback to200.ResponseRequestContextAddon.resetEverything(boolean resetCookies) Clears the buffer (the unsent buffer, of course), the headers, theContent-Typeand sets thestatus codeback to200.RequestContext.response()Response related methods.RequestContextBase.response()ResponseRequestContextAddon.setCacheSeconds(int cacheSeconds) Adds caching headers.ResponseRequestContextAddon.setCacheSeconds(int cacheSeconds, boolean isPrivateCache) Adds caching headers for the specified number of seconds.ResponseRequestContextAddon.setCharactersCharsetName(String name) Sets the charset to use to convert characters to bytes.ResponseRequestContextAddon.setContentType(String responseContentType) TheContent-Typeheader to use for the response.ResponseRequestContextAddon.setGzipOption(GzipOption gzipOption) Enable or disable gzipping of the response.Set the value to a response header.Set multiple values to a response header.ResponseRequestContextAddon.setStatusCode(int statusCode) Sets the response'sstatus codeto use.Methods in org.spincast.core.exchange that return types with arguments of type ResponseRequestContextAddonModifier and TypeMethodDescriptionprotected com.google.inject.Provider<ResponseRequestContextAddon<R>>RequestContextBase.getResponseRequestContextAddonProvider()com.google.inject.Provider<ResponseRequestContextAddon<R>>RequestContextBaseDeps.getResponseRequestContextAddonProvider() -
Uses of ResponseRequestContextAddon in org.spincast.plugins.response
Classes in org.spincast.plugins.response that implement ResponseRequestContextAddonModifier and TypeClassDescriptionclassSpincastResponseRequestContextAddon<R extends RequestContext<?>>Methods in org.spincast.plugins.response that return ResponseRequestContextAddonModifier and TypeMethodDescriptionSpincastResponseRequestContextAddon.addHeaderValue(String name, String value) SpincastResponseRequestContextAddon.addHeaderValues(String name, List<String> values) SpincastResponseRequestContextAddon.push(HttpMethod httpMethod, String path, Map<String, List<String>> requestHeaders) SpincastResponseRequestContextAddon.removeHeader(String name) SpincastResponseRequestContextAddon.resetBuffer()SpincastResponseRequestContextAddon.resetEverything()SpincastResponseRequestContextAddon.resetEverything(boolean resetCookies) SpincastResponseRequestContextAddon.setCacheSeconds(int cacheSeconds) SpincastResponseRequestContextAddon.setCacheSeconds(int cacheSeconds, boolean isPrivateCache) SpincastResponseRequestContextAddon.setCharactersCharsetName(String charactersCharsetName) SpincastResponseRequestContextAddon.setContentType(String responseContentType) SpincastResponseRequestContextAddon.setGzipOption(GzipOption gzipOption) SpincastResponseRequestContextAddon.setStatusCode(int responseStatusCode)