BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.net.protocol.ResponseParser Interface Reference
Inheritance diagram for eu.baltrad.dex.net.protocol.ResponseParser:
eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseParser

Public Member Functions

int getStatusCode ()
 
String getNodeName ()
 
String getProtocolVersion ()
 
String getConfiguredProtocolVersion ()
 
String getReasonPhrase ()
 
Set< DataSourcegetDataSources ()
 
User getUserAccount ()
 
List< SubscriptiongetSubscriptions ()
 
boolean isRedirected ()
 
String getRedirectURL ()
 

Detailed Description

Extracts information from a response

Author
Anders Henja

Member Function Documentation

◆ getConfiguredProtocolVersion()

String eu.baltrad.dex.net.protocol.ResponseParser.getConfiguredProtocolVersion ( )
Returns
the protocol version that the answering node is configured to support
Exceptions
ResponseParserExceptionif protocol version can be determined

Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseParser.

◆ getDataSources()

Set< DataSource > eu.baltrad.dex.net.protocol.ResponseParser.getDataSources ( )
Returns
the data sources if any
Exceptions
ResponseParserExceptionif data sources not can be parsed

Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseParser.

◆ getNodeName()

String eu.baltrad.dex.net.protocol.ResponseParser.getNodeName ( )
Returns
the name of the answering node
Exceptions
ResponseParserExceptionif node name not can be determined

Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseParser.

◆ getProtocolVersion()

String eu.baltrad.dex.net.protocol.ResponseParser.getProtocolVersion ( )
Returns
the protocol version used by the answering node
Exceptions
ResponseParserExceptionif protocol version can be determined

Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseParser.

◆ getReasonPhrase()

String eu.baltrad.dex.net.protocol.ResponseParser.getReasonPhrase ( )
Returns
the reason phrase if any otherwise just the empty string

Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseParser.

◆ getRedirectURL()

String eu.baltrad.dex.net.protocol.ResponseParser.getRedirectURL ( )
Returns
the redirect URL is isRedirected returns true

Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseParser.

◆ getStatusCode()

int eu.baltrad.dex.net.protocol.ResponseParser.getStatusCode ( )
Returns
the status code for the response
Exceptions
ResponseParserExceptionif status code not can be determined

Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseParser.

◆ getSubscriptions()

List< Subscription > eu.baltrad.dex.net.protocol.ResponseParser.getSubscriptions ( )
Returns
the subscriptions
Exceptions
ResponseParserExceptionif subscriptions not can be parsed

Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseParser.

◆ getUserAccount()

User eu.baltrad.dex.net.protocol.ResponseParser.getUserAccount ( )
Returns
the user account if any
Exceptions
ResponseParserExceptionif user account not can be parsed

Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseParser.

◆ isRedirected()

boolean eu.baltrad.dex.net.protocol.ResponseParser.isRedirected ( )
Returns
if the response indicates that it is redirected

Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseParser.


The documentation for this interface was generated from the following file: