org.mule.transport.http
Class RequestLine
java.lang.Object
org.mule.transport.http.RequestLine
public class RequestLine
- extends Object
Defines a HTTP request-line, consisting of method name, URI and protocol.
PARAMETERS_SEPARATOR
public static final char PARAMETERS_SEPARATOR
- See Also:
- Constant Field Values
RequestLine
public RequestLine(String method,
String uri,
HttpVersion httpversion)
RequestLine
public RequestLine(String method,
String uri,
String httpversion)
throws ProtocolException
- Throws:
ProtocolException
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.