268 return new Request() {
270 private InputStream inputStream;
273 public String getFirstParam(String param) {
278 public String getMethod() {
283 public String getURI() {
288 public String getRelativePath() {
298 public String getQueryParamValue(String param) {
303 public Cookie getCookie(String cookieName) {
309 public String getHeader(String name) {
314 public List<String> getHeaders(String name) {
320 public InputStream getInputStream() {
321 return getInputStream(
false);
325 public InputStream getInputStream(
boolean buffered) {
326 if (inputStream != null) {
332 return inputStream =
new BufferedInputStream(
servletRequest.getInputStream());
333 }
catch (IOException e) {
334 throw new RuntimeException(e);
340 }
catch (IOException e) {
341 throw new RuntimeException(e);
346 public String getRemoteAddr() {
351 public void setError(AuthenticationError error) {
352 servletRequest.setAttribute(AuthenticationError.class.getName(), error);
357 public void setError(LogoutError error) {
final HttpServletRequest servletRequest
Definition: ServletOAuthClient.java:255
boolean isSecure()
Definition: AbstractOAuthClient.java:113