public class VOMSProtocol extends Object
Modifier and Type | Method and Description |
---|---|
VOMSResponse |
getResponse(InputStream stream)
This method is used to parse a VOMS response from an input stream.
|
static VOMSProtocol |
instance() |
void |
sendRequest(VOMSRequestOptions requestOptions,
OutputStream stream)
This method is used to send a request to a VOMS server.
|
protected String |
xmlDocAsString(Document doc) |
public static VOMSProtocol instance()
public void sendRequest(VOMSRequestOptions requestOptions, OutputStream stream)
requestOptions
- the request options. See VOMSRequestOptions
.stream
- an output stream.public VOMSResponse getResponse(InputStream stream)
stream
- the input stream from which the response will be parsed.VOMSResponse
object.Copyright © 2013. All Rights Reserved.