be.fedict.eid.applet.service.impl
Class HttpServletRequestHttpReceiver

java.lang.Object
  extended by be.fedict.eid.applet.service.impl.HttpServletRequestHttpReceiver
All Implemented Interfaces:
be.fedict.eid.applet.shared.protocol.HttpReceiver

public class HttpServletRequestHttpReceiver
extends java.lang.Object
implements be.fedict.eid.applet.shared.protocol.HttpReceiver

HttpServletRequest based HTTP receiver.

Author:
Frank Cornelis

Constructor Summary
HttpServletRequestHttpReceiver(javax.servlet.http.HttpServletRequest httpServletRequest, boolean skipSecureConnectionCheck)
          Main constructor.
 
Method Summary
 byte[] getBody()
           
 java.util.List<java.lang.String> getHeaderNames()
           
 java.lang.String getHeaderValue(java.lang.String headerName)
           
 boolean isSecure()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServletRequestHttpReceiver

public HttpServletRequestHttpReceiver(javax.servlet.http.HttpServletRequest httpServletRequest,
                                      boolean skipSecureConnectionCheck)
Main constructor.

Parameters:
httpServletRequest -
skipSecureConnectionCheck - set to true to skip the check on a secure SSL connection.
Method Detail

getBody

public byte[] getBody()
Specified by:
getBody in interface be.fedict.eid.applet.shared.protocol.HttpReceiver

getHeaderNames

public java.util.List<java.lang.String> getHeaderNames()
Specified by:
getHeaderNames in interface be.fedict.eid.applet.shared.protocol.HttpReceiver

getHeaderValue

public java.lang.String getHeaderValue(java.lang.String headerName)
Specified by:
getHeaderValue in interface be.fedict.eid.applet.shared.protocol.HttpReceiver

isSecure

public boolean isSecure()
Specified by:
isSecure in interface be.fedict.eid.applet.shared.protocol.HttpReceiver


Copyright © 2008-2011 FedICT. All Rights Reserved.