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 Details

    • adapt

      public static void adapt(org.wildfly.security.http.HttpServerMechanismsResponder responder, org.infinispan.rest.NettyRestResponse.Builder responseBuilder)
    • addResponseHeader

      public void addResponseHeader(String headerName, String headerValue)
      Specified by:
      addResponseHeader in interface org.wildfly.security.http.HttpServerResponse
    • setStatusCode

      public void setStatusCode(int statusCode)
      Specified by:
      setStatusCode in interface org.wildfly.security.http.HttpServerResponse
    • setResponseCookie

      public void setResponseCookie(org.wildfly.security.http.HttpServerCookie cookie)
      Specified by:
      setResponseCookie in interface org.wildfly.security.http.HttpServerResponse
    • getOutputStream

      public OutputStream getOutputStream()
      Specified by:
      getOutputStream in interface org.wildfly.security.http.HttpServerResponse
    • forward

      public boolean forward(String path)
      Specified by:
      forward in interface org.wildfly.security.http.HttpServerResponse