org.mule.providers.http
Class HttpMessageReceiver.HttpWorker
java.lang.Object
org.mule.providers.http.HttpMessageReceiver.HttpWorker
- All Implemented Interfaces:
- Runnable, Work
- Enclosing class:
- HttpMessageReceiver
- protected class HttpMessageReceiver.HttpWorker
- extends Object
- implements 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
run
public void run()
- Specified by:
run in interface Runnable
processRequest
protected HttpResponse processRequest(HttpRequest request)
throws org.mule.umo.UMOException,
IOException
- Throws:
org.mule.umo.UMOException
IOException
doHead
protected HttpResponse doHead(RequestLine requestLine)
throws org.mule.umo.UMOException
- Throws:
org.mule.umo.UMOException
doRequest
protected HttpResponse doRequest(HttpRequest request,
RequestLine requestLine)
throws IOException,
org.mule.umo.UMOException
- Throws:
IOException
org.mule.umo.UMOException
doOtherValid
protected HttpResponse doOtherValid(RequestLine requestLine,
String method)
throws org.mule.umo.UMOException
- Throws:
org.mule.umo.UMOException
doBad
protected HttpResponse doBad(RequestLine requestLine)
throws org.mule.umo.UMOException
- Throws:
org.mule.umo.UMOException
buildStandardAdapter
protected org.mule.umo.provider.UMOMessageAdapter buildStandardAdapter(HttpRequest request,
Map headers)
throws org.mule.umo.MessagingException,
org.mule.umo.transformer.TransformerException,
IOException
- Throws:
org.mule.umo.MessagingException
org.mule.umo.transformer.TransformerException
IOException
buildFailureResponse
protected HttpResponse buildFailureResponse(RequestLine requestLine,
org.mule.umo.UMOMessage message)
throws org.mule.umo.transformer.TransformerException
- Throws:
org.mule.umo.transformer.TransformerException
parseHeaders
protected Map parseHeaders(HttpRequest request)
throws MalformedCookieException
- Throws:
MalformedCookieException
preRouteMessage
protected void preRouteMessage(org.mule.umo.UMOMessage message)
release
public void release()
- Specified by:
release in interface Work
Copyright © 2003-2007 MuleSource, Inc.. All Rights Reserved.