| Modifier and Type | Method and Description |
|---|---|
Body |
getBody()
|
Headers |
getHeaders()
Returns the headers associated with this Message.
|
String |
getStartLine()
Returns the Start-Line for this Message.
|
String |
getVersion()
Returns the Start-Line version string.
|
boolean |
isKeepAlive()
Indicates whether or not this Message is a KeepAlive transaction.
|
void |
setBody(Body body)
Sets the body of this
Message. |
void |
setBodyContent(byte[] content)
Sets the body content of this
Message. |
void |
setHeaders(Headers srcHeaders)
Sets the headers to be associated with this Message.
|
Body getBody()
Message
Note: when processing an Agent Request from a PingAccess agent, the headers of the Message might
indicate a non-empty body should be returned, but an empty body will be returned.Message (never null).void setBody(Body body)
Message.
This method does not change the Headers of the Message to account for the change in the
Body, e.g., the Content-Length header field is not updated. The setBodyContent(byte[]) will
update the Headers appropriately.body - the Body to replace in this Message.IllegalArgumentException - if the specified Body was not created by the provided
BodyFactory. See ServiceFactory.bodyFactory()).void setBodyContent(byte[] content)
Headers getHeaders()
Headers object for this Message.void setHeaders(Headers srcHeaders)
srcHeaders - the replacement Headers for this Message.IllegalArgumentException - if the specified Headers object was not created with the provided
HeadersFactory. See ServiceFactory.headersFactory().String getStartLine()
String getVersion()
1.0 or 1.1boolean isKeepAlive()
Copyright 2023 Ping Identity Corp. All rights reserved.