public class Hl7OverHttpLowerLayerProtocol extends LowerLayerProtocol
LowerLayerProtocol implementation which use the HL7 over HTTP specification as a transport layer.
Note that this implementation has limitations:
TwoPortService
charset
Constructor and Description |
---|
Hl7OverHttpLowerLayerProtocol(ServerRoleEnum theRole) |
Modifier and Type | Method and Description |
---|---|
HL7Reader |
getReader(InputStream theArg0) |
ServerRoleEnum |
getRole()
Returns the server role this protocol implementation is being used for
|
String |
getUriPath() |
HL7Writer |
getWriter(OutputStream theArg0) |
void |
setAuthorizationCallback(IAuthorizationClientCallback theAuthorizationClientCallback)
Provides an authorization callback for authorizing incoming requests.
|
void |
setAuthorizationCallback(IAuthorizationServerCallback theAuthorizationCallback)
Provides an authorization callback for authorizing incoming requests.
|
void |
setPreferredCharset(Charset thePreferredCharset)
Sets the charset which will be used for any initiated outgoing messages.
|
void |
setSigner(ISigner theSigner) |
void |
setUriPath(String theUriPath)
The URI path to use for this protocol.
|
logCharacterReceived, makeLLP, makeLLP, setCharset, setCharset
public Hl7OverHttpLowerLayerProtocol(ServerRoleEnum theRole)
public HL7Reader getReader(InputStream theArg0) throws LLPException
getReader
in class LowerLayerProtocol
LLPException
public ServerRoleEnum getRole()
public String getUriPath()
setUriPath(String)
public HL7Writer getWriter(OutputStream theArg0) throws LLPException
getWriter
in class LowerLayerProtocol
LLPException
public void setAuthorizationCallback(IAuthorizationClientCallback theAuthorizationClientCallback)
SERVER
mode.public void setAuthorizationCallback(IAuthorizationServerCallback theAuthorizationCallback)
SERVER
mode.public void setSigner(ISigner theSigner)
theSigner
- The signature profile signerpublic void setUriPath(String theUriPath)
theUriPath
- the uri to setpublic void setPreferredCharset(Charset thePreferredCharset)
Copyright © 2012–2017 University Health Network. All rights reserved.