org.mule.transport.http
Class OldHttpMessageReceiver.HttpWorker
java.lang.Object
org.mule.transport.http.OldHttpMessageReceiver.HttpWorker
- All Implemented Interfaces:
- Runnable, javax.resource.spi.work.Work, Expirable
- Enclosing class:
- OldHttpMessageReceiver
protected class OldHttpMessageReceiver.HttpWorker
- extends Object
- implements javax.resource.spi.work.Work, Expirable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OldHttpMessageReceiver.HttpWorker
public OldHttpMessageReceiver.HttpWorker(Socket socket)
throws IOException
- Throws:
IOException
expired
public void expired()
- Specified by:
expired
in interface Expirable
run
public void run()
- Specified by:
run
in interface Runnable
processRequest
protected HttpResponse processRequest(HttpRequest request)
throws MuleException,
IOException
- Throws:
MuleException
IOException
doRequest
protected HttpResponse doRequest(HttpRequest request)
throws IOException,
MuleException
- Throws:
IOException
MuleException
doOtherValid
protected HttpResponse doOtherValid(RequestLine requestLine,
String method)
throws MuleException
- Throws:
MuleException
doBad
protected HttpResponse doBad(RequestLine requestLine)
throws MuleException
- Throws:
MuleException
buildFailureResponse
protected HttpResponse buildFailureResponse(HttpVersion version,
int statusCode,
String description)
throws MuleException
- Throws:
MuleException
preRouteMessage
protected void preRouteMessage(MuleMessage message)
throws MessagingException
- Throws:
MessagingException
release
public void release()
- Specified by:
release
in interface javax.resource.spi.work.Work
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.