|
|
@ -5,7 +5,7 @@ |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
@ -66,6 +66,13 @@ public class ServletServerHttpRequest implements ServerHttpRequest { |
|
|
|
this.servletRequest = servletRequest; |
|
|
|
this.servletRequest = servletRequest; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Returns the {@code HttpServletRequest} this object is based on. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public HttpServletRequest getServletRequest() { |
|
|
|
|
|
|
|
return servletRequest; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public HttpMethod getMethod() { |
|
|
|
public HttpMethod getMethod() { |
|
|
|
return HttpMethod.valueOf(this.servletRequest.getMethod()); |
|
|
|
return HttpMethod.valueOf(this.servletRequest.getMethod()); |
|
|
|
} |
|
|
|
} |
|
|
|