Package org.infinispan.server.security
Class HttpServerResponseAdapter
java.lang.Object
org.infinispan.server.security.HttpServerResponseAdapter
- All Implemented Interfaces:
org.wildfly.security.http.HttpServerResponse
public class HttpServerResponseAdapter
extends Object
implements org.wildfly.security.http.HttpServerResponse
- Since:
- 10.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.infinispan.rest.NettyRestResponseadapt(org.wildfly.security.http.HttpServerMechanismsResponder responder, org.infinispan.rest.NettyRestResponse.Builder responseBuilder) voidaddResponseHeader(String headerName, String headerValue) booleanvoidsetResponseCookie(org.wildfly.security.http.HttpServerCookie cookie) voidsetStatusCode(int statusCode)
-
Method Details
-
adapt
public static org.infinispan.rest.NettyRestResponse adapt(org.wildfly.security.http.HttpServerMechanismsResponder responder, org.infinispan.rest.NettyRestResponse.Builder responseBuilder) -
addResponseHeader
- Specified by:
addResponseHeaderin interfaceorg.wildfly.security.http.HttpServerResponse
-
setStatusCode
public void setStatusCode(int statusCode) - Specified by:
setStatusCodein interfaceorg.wildfly.security.http.HttpServerResponse
-
setResponseCookie
public void setResponseCookie(org.wildfly.security.http.HttpServerCookie cookie) - Specified by:
setResponseCookiein interfaceorg.wildfly.security.http.HttpServerResponse
-
getOutputStream
- Specified by:
getOutputStreamin interfaceorg.wildfly.security.http.HttpServerResponse
-
forward
- Specified by:
forwardin interfaceorg.wildfly.security.http.HttpServerResponse
-