public class HttpComponentsRamlRequest extends Object implements RamlRequest
| Constructor and Description |
|---|
HttpComponentsRamlRequest(org.apache.http.HttpHost host,
org.apache.http.HttpRequest request) |
HttpComponentsRamlRequest(org.apache.http.client.methods.HttpUriRequest request) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent() |
String |
getContentType() |
Values |
getFormValues() |
Values |
getHeaderValues() |
String |
getMethod() |
Values |
getQueryValues() |
String |
getRequestUrl(String baseUri,
boolean includeServletPath) |
public HttpComponentsRamlRequest(org.apache.http.HttpHost host,
org.apache.http.HttpRequest request)
public HttpComponentsRamlRequest(org.apache.http.client.methods.HttpUriRequest request)
public String getRequestUrl(String baseUri, boolean includeServletPath)
getRequestUrl in interface RamlRequestpublic String getMethod()
getMethod in interface RamlRequestpublic Values getQueryValues()
getQueryValues in interface RamlRequestpublic Values getFormValues()
getFormValues in interface RamlRequestpublic Values getHeaderValues()
getHeaderValues in interface RamlMessagepublic String getContentType()
getContentType in interface RamlMessagepublic byte[] getContent()
getContent in interface RamlMessageCopyright © 2014–2017. All rights reserved.