Interface IHttpMessage
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IHttpRequest
,IHttpResponse
- All Known Implementing Classes:
HttpResponse
This object is responsible for http message creation used by the IHttpConnection.
- Since:
- 9.0
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptionString[]
This method should return all the header names that are set to the http request.String[]
getHeaderValues
(String name) 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
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.
-