public class RequestDataHolder extends Object
RequestDataHolder holds data fields of the request which might be useful later in the message flow.
ex. at the point where response is send back to the client.| Constructor and Description |
|---|
RequestDataHolder(HttpCarbonMessage requestMessage) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAcceptEncodingHeaderValue()
Get the value of the Accept-Encoding header.
|
String |
getConnectionHeaderValue()
Get the value of the Connection header.
|
String |
getContentLengthHeaderValue()
Get the value of the Content-Length header.
|
String |
getContentTypeHeaderValue()
Get the value of the Content-Type header.
|
String |
getHttpMethod()
Get the http method.
|
String |
getHttpVersion()
Get the http version.
|
String |
getTransferEncodingHeaderValue()
Get the value of the Transfer-Encoding header.
|
public RequestDataHolder(HttpCarbonMessage requestMessage)
public String getAcceptEncodingHeaderValue()
public String getConnectionHeaderValue()
public String getContentTypeHeaderValue()
public String getTransferEncodingHeaderValue()
public String getContentLengthHeaderValue()
public String getHttpMethod()
public String getHttpVersion()
Copyright © 2023 WSO2. All rights reserved.