Package com.adaptris.core.http.jetty
Class StandardResponseProducer
- java.lang.Object
-
- com.adaptris.core.AdaptrisMessageWorkerImp
-
- com.adaptris.core.AdaptrisMessageProducerImp
-
- com.adaptris.core.ProduceOnlyProducerImp
-
- com.adaptris.core.http.jetty.ResponseProducerImpl
-
- com.adaptris.core.http.jetty.StandardResponseProducer
-
- All Implemented Interfaces:
AdaptrisComponent
,AdaptrisMessageProducer
,AdaptrisMessageSender
,AdaptrisMessageWorker
,ComponentLifecycle
,ComponentLifecycleExtension
,MessageEventGenerator
@ComponentProfile(summary="Write and commit the HTTP Response", tag="producer,http,https", recommended=NullConnection.class) public class StandardResponseProducer extends ResponseProducerImpl
Implementation ofAdaptrisMessageProducer
writes to theHttpServletResponse
object metadata provided by the Jetty engine.In the adapter configuration file this class is aliased as jetty-standard-response-producer which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.AdaptrisMessageWorkerImp
log
-
-
Constructor Summary
Constructors Constructor Description StandardResponseProducer()
StandardResponseProducer(HttpStatusProvider.HttpStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doProduce(AdaptrisMessage msg, java.lang.String endpint)
-
Methods inherited from class com.adaptris.core.http.jetty.ResponseProducerImpl
endpoint, flushBuffers, forwardConnectionException, getContentTypeProvider, getFlushBuffer, getForwardConnectionException, getResponseHeaderProvider, getSendPayload, getStatus, getStatusProvider, prepare, sendPayload, setContentTypeProvider, setFlushBuffer, setForwardConnectionException, setResponseHeaderProvider, setSendPayload, setStatusProvider, withContentTypeProvider, withFlushBuffer, withForwardConnectionException, withResponseHeaderProvider, withSendPayload, withStatusProvider
-
Methods inherited from class com.adaptris.core.ProduceOnlyProducerImp
produce, request, request
-
Methods inherited from class com.adaptris.core.AdaptrisMessageProducerImp
createName
-
Methods inherited from class com.adaptris.core.AdaptrisMessageWorkerImp
createQualifier, decode, encode, getEncoder, getIsTrackingEndpoint, getMessageFactory, getUniqueId, handleConnectionException, isTrackingEndpoint, registerConnection, registerEncoderMessageFactory, retrieveConnection, setEncoder, setIsTrackingEndpoint, setMessageFactory, setUniqueId, withMessageFactory, withUniqueID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.core.AdaptrisComponent
getUniqueId
-
Methods inherited from interface com.adaptris.core.AdaptrisMessageWorker
decode, encode, getEncoder, getMessageFactory, handleConnectionException, registerConnection, retrieveConnection, setEncoder, setMessageFactory
-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
-
Methods inherited from interface com.adaptris.core.MessageEventGenerator
createQualifier, isTrackingEndpoint
-
-
-
-
Constructor Detail
-
StandardResponseProducer
public StandardResponseProducer()
-
StandardResponseProducer
public StandardResponseProducer(HttpStatusProvider.HttpStatus status)
-
-
Method Detail
-
doProduce
public void doProduce(AdaptrisMessage msg, java.lang.String endpint) throws ProduceException
- Specified by:
doProduce
in classProduceOnlyProducerImp
- Throws:
ProduceException
-
-