public abstract class ITKServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected ITKSimpleDOS |
dos
The dos.
|
| Constructor and Description |
|---|
ITKServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected ITKMessage |
addITKWrappers(ITKMessage itkMessage)
Adds the itk wrappers.
|
protected void |
checkProfileId(ITKMessageProperties itkMessageProperties)
Checks whether the profileId in as identified in the ITKMessagingProperties is
supported by the recipient.
|
protected void |
checkServiceId(ITKMessageProperties itkMessageProperties)
Check service id.
|
void |
init() |
protected void |
sendInfrastructureAck(ITKMessageProperties requestMessageProperties)
Send infrastructure ack.
|
protected void |
validateDistributionEnvelope(ITKMessageProperties itkMessageProperties)
Validate distribution envelope.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected ITKSimpleDOS dos
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void sendInfrastructureAck(ITKMessageProperties requestMessageProperties) throws ITKMessagingException
requestMessageProperties - the request message propertiesITKMessagingException - the iTK messaging exceptionprotected void checkProfileId(ITKMessageProperties itkMessageProperties) throws ITKMessagingException
itkMessageProperties - The ITKMessageProperties holding a reference to the
profileId of the messageITKMessagingException - the iTK messaging exceptionprotected void checkServiceId(ITKMessageProperties itkMessageProperties) throws ITKMessagingException
itkMessageProperties - the itk message propertiesITKMessagingException - the iTK messaging exceptionprotected void validateDistributionEnvelope(ITKMessageProperties itkMessageProperties) throws ITKMessagingException
itkMessageProperties - the itk message propertiesITKMessagingException - the iTK messaging exceptionprotected ITKMessage addITKWrappers(ITKMessage itkMessage) throws ITKMessagingException
itkMessage - the itk messageITKMessagingException - the iTK messaging exceptionAll content is available under the Open Government Licence, except where otherwise stated
All example source code is available under Apache 2.0, except where otherwise stated