Class HttpMetadataAdapter

java.lang.Object
org.apache.dubbo.rpc.protocol.tri.servlet.HttpMetadataAdapter
All Implemented Interfaces:
org.apache.dubbo.remoting.http12.h2.Http2Header, org.apache.dubbo.remoting.http12.h2.Http2StreamFrame, org.apache.dubbo.remoting.http12.HttpMetadata, org.apache.dubbo.remoting.http12.RequestMetadata

public final class HttpMetadataAdapter extends Object implements org.apache.dubbo.remoting.http12.h2.Http2Header
  • Method Details

    • getRequest

      public javax.servlet.http.HttpServletRequest getRequest()
    • headers

      public org.apache.dubbo.remoting.http12.HttpHeaders headers()
      Specified by:
      headers in interface org.apache.dubbo.remoting.http12.HttpMetadata
    • method

      public String method()
      Specified by:
      method in interface org.apache.dubbo.remoting.http12.h2.Http2Header
      Specified by:
      method in interface org.apache.dubbo.remoting.http12.RequestMetadata
    • path

      public String path()
      Specified by:
      path in interface org.apache.dubbo.remoting.http12.h2.Http2Header
      Specified by:
      path in interface org.apache.dubbo.remoting.http12.RequestMetadata
    • id

      public long id()
      Specified by:
      id in interface org.apache.dubbo.remoting.http12.h2.Http2StreamFrame
    • isEndStream

      public boolean isEndStream()
      Specified by:
      isEndStream in interface org.apache.dubbo.remoting.http12.h2.Http2StreamFrame