org.mule.transport.http
Class OldHttpMessageReceiver.HttpWorker

java.lang.Object
  extended by 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


Constructor Summary
OldHttpMessageReceiver.HttpWorker(Socket socket)
           
 
Method Summary
protected  HttpResponse buildFailureResponse(HttpVersion version, int statusCode, String description)
           
protected  HttpResponse doBad(RequestLine requestLine)
           
protected  HttpResponse doOtherValid(RequestLine requestLine, String method)
           
protected  HttpResponse doRequest(HttpRequest request)
           
 void expired()
           
protected  void preRouteMessage(MuleMessage message)
           
protected  HttpResponse processRequest(HttpRequest request)
           
 void release()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OldHttpMessageReceiver.HttpWorker

public OldHttpMessageReceiver.HttpWorker(Socket socket)
                                  throws IOException
Throws:
IOException
Method Detail

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.