public class SpringHttpRamlRequest extends Object implements RamlRequest
| Constructor and Description |
|---|
SpringHttpRamlRequest(org.springframework.http.HttpRequest request,
byte[] body) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
contentTypeOf(org.springframework.http.HttpHeaders headers) |
byte[] |
getContent() |
String |
getContentType() |
Values |
getFormValues() |
Values |
getHeaderValues() |
String |
getMethod() |
Values |
getQueryValues() |
String |
getRequestUrl(String baseUri,
boolean includeServletPath) |
protected Values |
headerValuesOf(org.springframework.http.HttpHeaders headers) |
public SpringHttpRamlRequest(org.springframework.http.HttpRequest request,
byte[] body)
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 RamlMessageprotected String contentTypeOf(org.springframework.http.HttpHeaders headers)
protected Values headerValuesOf(org.springframework.http.HttpHeaders headers)
Copyright © 2014–2018. All rights reserved.