Class RESTVOMSResponseParsingStrategy
- java.lang.Object
-
- org.italiangrid.voms.request.impl.RESTVOMSResponseParsingStrategy
-
- All Implemented Interfaces:
VOMSResponseParsingStrategy
public class RESTVOMSResponseParsingStrategy extends java.lang.Object implements VOMSResponseParsingStrategy
Strategy for parsing a response coming from a RESTFul VOMS.
-
-
Field Summary
Fields Modifier and Type Field Description private javax.xml.parsers.DocumentBuilder
docBuilder
-
Constructor Summary
Constructors Constructor Description RESTVOMSResponseParsingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VOMSResponse
parse(java.io.InputStream inputStream)
Parse a response coming from a RESTFul VOMS service and builds aVOMSResponse
object representing the response.
-
-
-
Method Detail
-
parse
public VOMSResponse parse(java.io.InputStream inputStream)
Parse a response coming from a RESTFul VOMS service and builds aVOMSResponse
object representing the response.- Specified by:
parse
in interfaceVOMSResponseParsingStrategy
- Parameters:
inputStream
- the response coming from the service- Returns:
- a
VOMSResponse
object representing the response.
-
-