nl.surfnet.sab
Class HttpClientTransport
java.lang.Object
nl.surfnet.sab.HttpClientTransport
- All Implemented Interfaces:
- SabTransport
@Component
public class HttpClientTransport
- extends Object
- implements SabTransport
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClientTransport
public HttpClientTransport()
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.