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

Public Member Functions

String getMessage ()
 
String getSignature ()
 
String getUser ()
 
String getNodeName ()
 
String getProtocolVersion ()
 
ResponseWriter getWriter (HttpServletResponse response)
 
boolean isAuthenticated (Authenticator authenticator) throws KeyczarException
 
User getUserAccount ()
 
Set< DataSourcegetDataSources ()
 
List< SubscriptiongetSubscriptions ()
 
IBltXmlMessage getBltXmlMessage ()
 

Detailed Description

Author
Anders Henja

Member Function Documentation

◆ getBltXmlMessage()

IBltXmlMessage eu.baltrad.dex.net.protocol.RequestParser.getBltXmlMessage ( )
Returns
the baltrad xml message
Exceptions
RequestParserExceptionupon error

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

◆ getDataSources()

Set< DataSource > eu.baltrad.dex.net.protocol.RequestParser.getDataSources ( )
Returns
the data sources
Exceptions
RequestParserExceptionupon error

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

◆ getMessage()

String eu.baltrad.dex.net.protocol.RequestParser.getMessage ( )
Returns
Message to be signed

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

◆ getNodeName()

String eu.baltrad.dex.net.protocol.RequestParser.getNodeName ( )
Returns
Name of the requesting node

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

◆ getProtocolVersion()

String eu.baltrad.dex.net.protocol.RequestParser.getProtocolVersion ( )
Returns
the protocol version. If nothing found, empty string should be returned. null should never be returned.

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

◆ getSignature()

String eu.baltrad.dex.net.protocol.RequestParser.getSignature ( )
Returns
Signature string

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

◆ getSubscriptions()

List< Subscription > eu.baltrad.dex.net.protocol.RequestParser.getSubscriptions ( )
Returns
the subscriptions
Exceptions
RequestParserExceptionupon error

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

◆ getUser()

String eu.baltrad.dex.net.protocol.RequestParser.getUser ( )
Returns
User identity string

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

◆ getUserAccount()

User eu.baltrad.dex.net.protocol.RequestParser.getUserAccount ( )
Returns
the user account
Exceptions
RequestParserExceptionupon error

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

◆ getWriter()

ResponseWriter eu.baltrad.dex.net.protocol.RequestParser.getWriter ( HttpServletResponse response)
Returns
a response writer that generates a response of same version as the request

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

◆ isAuthenticated()

boolean eu.baltrad.dex.net.protocol.RequestParser.isAuthenticated ( Authenticator authenticator) throws KeyczarException
Parameters
authenticatorthe authenticator
Returns
if the message is authenticated properly or not

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


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