org.opensaml.ws.transport
Class InputStreamInTransportAdapter

java.lang.Object
  extended by org.opensaml.ws.transport.BaseTransport
      extended by org.opensaml.ws.transport.InputStreamInTransportAdapter
All Implemented Interfaces:
InTransport, Transport

public class InputStreamInTransportAdapter
extends BaseTransport
implements InTransport

Adapter that allows a raw InputStream to be used as an InTransport.


Field Summary
private  InputStream inputStream
          The wrapped InputStream.
 
Constructor Summary
InputStreamInTransportAdapter(InputStream stream)
          Constructor.
 
Method Summary
 InputStream getIncomingStream()
          Gets the incoming stream from the peer.
 
Methods inherited from class org.opensaml.ws.transport.BaseTransport
getAttribute, getCharacterEncoding, getLocalCredential, getPeerCredential, isAuthenticated, isConfidential, isIntegrityProtected, setAttribute, setAuthenticated, setCharacterEncoding, setConfidential, setIntegrityProtected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.ws.transport.Transport
getAttribute, getCharacterEncoding, getLocalCredential, getPeerCredential, isAuthenticated, isConfidential, isIntegrityProtected, setAuthenticated, setConfidential, setIntegrityProtected
 

Field Detail

inputStream

private InputStream inputStream
The wrapped InputStream.

Constructor Detail

InputStreamInTransportAdapter

public InputStreamInTransportAdapter(InputStream stream)
Constructor.

Parameters:
stream - the input stream to adapt
Method Detail

getIncomingStream

public InputStream getIncomingStream()
Gets the incoming stream from the peer.

Specified by:
getIncomingStream in interface InTransport
Returns:
incoming stream from the peer


Copyright © 1999-2013. All Rights Reserved.