Class HTTPResponse

java.lang.Object
org.cybergarage.http.HTTPPacket
org.cybergarage.http.HTTPResponse
Direct Known Subclasses:
SOAPResponse, SSDPResponse, SubscriptionResponse

public class HTTPResponse extends HTTPPacket
  • Constructor Details

    • HTTPResponse

      public HTTPResponse()
    • HTTPResponse

      public HTTPResponse(HTTPResponse httpRes)
    • HTTPResponse

      public HTTPResponse(InputStream in)
    • HTTPResponse

      public HTTPResponse(HTTPSocket httpSock)
  • Method Details

    • setStatusCode

      public void setStatusCode(int code)
    • getStatusCode

      public int getStatusCode()
    • isSuccessful

      public boolean isSuccessful()
    • getStatusLineString

      public String getStatusLineString()
    • getHeader

      public String getHeader()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • print

      public void print()