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.


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

Field Detail

PARAMETERS_SEPARATOR

public static final char PARAMETERS_SEPARATOR
See Also:
Constant Field Values
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

getUrlWithoutParams

public String getUrlWithoutParams()
Returns:
the url without the request parameters


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.