Class RelayedHttpListenerResponse

java.lang.Object
com.microsoft.azure.relay.RelayedHttpListenerResponse

public class RelayedHttpListenerResponse extends Object
  • Method Details

    • getStatusCode

      public int getStatusCode()
    • setStatusCode

      public void setStatusCode(int statuscode)
    • getStatusDescription

      public String getStatusDescription()
    • setStatusDescription

      public void setStatusDescription(String statusDescription)
    • getHeaders

      public Map<String,String> getHeaders()
    • getOutputStream

      public com.microsoft.azure.relay.HybridHttpConnection.ResponseStream getOutputStream()
    • getContext

      public RelayedHttpListenerContext getContext()
    • closeAsync

      public CompletableFuture<Void> closeAsync()
      Sends the response to the client asynchronously and releases the resources held by this RelayedHttpListenerResponse instance.
    • close

      public void close()
      Sends the response to the client and releases the resources held by this RelayedHttpListenerResponse instance.