org.mule.transport.http
Class RequestLine

java.lang.Object
  extended by org.mule.transport.http.RequestLine

public class RequestLine
extends Object

Defines a HTTP request-line, consisting of method name, URI and protocol.


Constructor Summary
RequestLine(String method, String uri, HttpVersion httpversion)
           
RequestLine(String method, String uri, String httpversion)
           
 
Method Summary
 HttpVersion getHttpVersion()
           
 String getMethod()
           
 String getUri()
           
static RequestLine parseLine(String l)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestLine

public RequestLine(String method,
                   String uri,
                   HttpVersion httpversion)

RequestLine

public RequestLine(String method,
                   String uri,
                   String httpversion)
            throws ProtocolException
Throws:
ProtocolException
Method Detail

parseLine

public static RequestLine parseLine(String l)
                             throws HttpException
Throws:
HttpException

getMethod

public String getMethod()

getHttpVersion

public HttpVersion getHttpVersion()

getUri

public String getUri()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.