public class Hl7OverHttpLowerLayerProtocol extends ca.uhn.hl7v2.llp.LowerLayerProtocol
LowerLayerProtocol implementation which use the HL7 over HTTP specification as a transport layer.
Note that this implementation has limitations:
TwoPortService
| Constructor and Description |
|---|
Hl7OverHttpLowerLayerProtocol(ServerRoleEnum theRole) |
| Modifier and Type | Method and Description |
|---|---|
ca.uhn.hl7v2.llp.HL7Reader |
getReader(InputStream theArg0) |
ServerRoleEnum |
getRole()
Returns the server role this protocol implementation is being used for
|
String |
getUriPath() |
ca.uhn.hl7v2.llp.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.
|
public Hl7OverHttpLowerLayerProtocol(ServerRoleEnum theRole)
public ca.uhn.hl7v2.llp.HL7Reader getReader(InputStream theArg0) throws ca.uhn.hl7v2.llp.LLPException
getReader in class ca.uhn.hl7v2.llp.LowerLayerProtocolca.uhn.hl7v2.llp.LLPExceptionpublic ServerRoleEnum getRole()
public String getUriPath()
setUriPath(String)public ca.uhn.hl7v2.llp.HL7Writer getWriter(OutputStream theArg0) throws ca.uhn.hl7v2.llp.LLPException
getWriter in class ca.uhn.hl7v2.llp.LowerLayerProtocolca.uhn.hl7v2.llp.LLPExceptionpublic 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-2014 University Health Network. All Rights Reserved.