public class RequestLine extends Object
Constructor and Description |
---|
RequestLine() |
Modifier and Type | Method and Description |
---|---|
String |
getInitPath() |
String |
getLine() |
Method |
getMethod() |
String |
getPath() |
String |
getPathAndQuery() |
String |
getProtocol() |
String |
getQuery() |
String |
getVersion() |
void |
setInitPath(String initPath) |
void |
setLine(String line) |
void |
setMethod(Method method) |
void |
setPath(String path) |
void |
setPathAndQuery(String pathAndQuery) |
void |
setProtocol(String protocol) |
void |
setQuery(String query) |
void |
setVersion(String version) |
public String getLine()
public Method getMethod()
public String getPath()
public String getPathAndQuery()
public String getQuery()
public String getVersion()
public void setLine(String line)
line
- the line to setpublic void setMethod(Method method)
method
- the method to setpublic void setPath(String path)
path
- the path to setpublic void setPathAndQuery(String pathAndQuery)
public void setQuery(String query)
query
- the query to setpublic void setVersion(String version)
version
- the version to setpublic String getProtocol()
public void setProtocol(String protocol)
protocol
- the protocol to setpublic String getInitPath()
public void setInitPath(String initPath)
Copyright © 2018. All rights reserved.