Interface IHttpMessage

All Superinterfaces:
Serializable
All Known Subinterfaces:
IHttpRequest, IHttpResponse
All Known Implementing Classes:
HttpResponse

public interface IHttpMessage extends Serializable
This object is responsible for http message creation used by the IHttpConnection.
Since:
9.0
Author:
Jon van Leuven
  • Method Summary

    Modifier and Type
    Method
    Description
    This method should return all the header names that are set to the http request.
    The method returns the value for a specified header name.
  • Method Details

    • getHeaderNames

      String[] getHeaderNames()
      This method should return all the header names that are set to the http request.
      Returns:
      The header names, may not be null, but could be an empty array.
    • getHeaderValues

      String[] getHeaderValues(String name)
      The method returns the value for a specified header name.
      Parameters:
      name - The name of the header, may not be null.
      Returns:
      The value of the header, may be null.