Class TiangongServerHttpRequest

java.lang.Object
tech.riemann.nif.support.tiangong.websocket.TiangongServerHttpRequest
All Implemented Interfaces:
org.springframework.http.HttpInputMessage, org.springframework.http.HttpMessage, org.springframework.http.HttpRequest, org.springframework.http.server.ServerHttpRequest

public class TiangongServerHttpRequest extends Object implements org.springframework.http.server.ServerHttpRequest
  • Constructor Details

    • TiangongServerHttpRequest

      public TiangongServerHttpRequest(io.netty.handler.codec.http.FullHttpRequest request, URI uri, InetSocketAddress remoteAddress)
  • Method Details

    • getBody

      public InputStream getBody()
      Specified by:
      getBody in interface org.springframework.http.HttpInputMessage
    • getHeaders

      public org.springframework.http.HttpHeaders getHeaders()
      Specified by:
      getHeaders in interface org.springframework.http.HttpMessage
    • getMethod

      public org.springframework.http.HttpMethod getMethod()
      Specified by:
      getMethod in interface org.springframework.http.HttpRequest
    • getURI

      public URI getURI()
      Specified by:
      getURI in interface org.springframework.http.HttpRequest
    • getAttributes

      public Map<String,Object> getAttributes()
      Specified by:
      getAttributes in interface org.springframework.http.HttpRequest
    • getRemoteAddress

      public InetSocketAddress getRemoteAddress()
      Specified by:
      getRemoteAddress in interface org.springframework.http.server.ServerHttpRequest
    • getLocalAddress

      public InetSocketAddress getLocalAddress()
      Specified by:
      getLocalAddress in interface org.springframework.http.server.ServerHttpRequest
    • getAsyncRequestControl

      public org.springframework.http.server.ServerHttpAsyncRequestControl getAsyncRequestControl(org.springframework.http.server.ServerHttpResponse response)
      Specified by:
      getAsyncRequestControl in interface org.springframework.http.server.ServerHttpRequest
    • getPrincipal

      public Principal getPrincipal()
      Specified by:
      getPrincipal in interface org.springframework.http.server.ServerHttpRequest