org.mule.providers.http
Class HttpMessageReceiver.HttpWorker
java.lang.Object
org.mule.providers.http.HttpMessageReceiver.HttpWorker
- All Implemented Interfaces:
- Runnable, javax.resource.spi.work.Work
- Enclosing class:
- HttpMessageReceiver
protected class HttpMessageReceiver.HttpWorker
- extends Object
- implements javax.resource.spi.work.Work
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpMessageReceiver.HttpWorker
public HttpMessageReceiver.HttpWorker(Socket socket)
throws IOException
- Throws:
IOException
run
public void run()
- Specified by:
run
in interface Runnable
processRequest
protected HttpResponse processRequest(HttpRequest request)
throws UMOException,
IOException
- Throws:
UMOException
IOException
doHead
protected HttpResponse doHead(RequestLine requestLine)
throws UMOException
- Throws:
UMOException
doRequest
protected HttpResponse doRequest(HttpRequest request,
RequestLine requestLine)
throws IOException,
UMOException
- Throws:
IOException
UMOException
doOtherValid
protected HttpResponse doOtherValid(RequestLine requestLine,
String method)
throws UMOException
- Throws:
UMOException
doBad
protected HttpResponse doBad(RequestLine requestLine)
throws UMOException
- Throws:
UMOException
buildStreamingAdapter
protected UMOMessageAdapter buildStreamingAdapter(HttpRequest request,
Map headers)
throws MessagingException
- Throws:
MessagingException
buildStandardAdapter
protected UMOMessageAdapter buildStandardAdapter(HttpRequest request,
Map headers)
throws MessagingException,
TransformerException,
IOException
- Throws:
MessagingException
TransformerException
IOException
buildFailureResponse
protected HttpResponse buildFailureResponse(RequestLine requestLine,
UMOMessage message)
throws TransformerException
- Throws:
TransformerException
parseHeaders
protected Map parseHeaders(HttpRequest request)
throws MalformedCookieException
- Throws:
MalformedCookieException
preRouteMessage
protected void preRouteMessage(UMOMessage message)
release
public void release()
- Specified by:
release
in interface javax.resource.spi.work.Work
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.