nl.surfnet.sab
Class HttpClientTransport

java.lang.Object
  extended by nl.surfnet.sab.HttpClientTransport
All Implemented Interfaces:
SabTransport

@Component
public class HttpClientTransport
extends Object
implements SabTransport


Constructor Summary
HttpClientTransport()
           
 
Method Summary
 InputStream getResponse(String request)
          Fire a SAB request
 void setPassword(String password)
           
 void setSabEndpoint(URI sabEndpoint)
           
 void setUsername(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpClientTransport

public HttpClientTransport()
Method Detail

getResponse

public InputStream getResponse(String request)
                        throws IOException
Description copied from interface: SabTransport
Fire a SAB request

Specified by:
getResponse in interface SabTransport
Parameters:
request - the request, serialized XML
Returns:
a stream containing the response
Throws:
IOException

setSabEndpoint

public void setSabEndpoint(URI sabEndpoint)

setPassword

public void setPassword(String password)

setUsername

public void setUsername(String username)


Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.