- java.lang.Object
-
- swim.web.WebRequest
-
- swim.web.WebServerRequest
-
public class WebServerRequest extends WebRequest
-
-
Constructor Summary
Constructors Constructor Description WebServerRequest(HttpRequest<?> httpRequest)
WebServerRequest(HttpRequest<?> httpRequest, UriPath routePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpRequest<?>
httpRequest()
UriPath
routePath()
WebRequest
routePath(UriPath routePath)
-
Methods inherited from class swim.web.WebRequest
accept, getHttpHeader, getHttpHeader, httpHeaders, httpMethod, httpPayload, httpUri, httpUriPath, httpUriQuery, httpVersion, reject, reject, respond, upgrade, upgrade
-
-
-
-
Constructor Detail
-
WebServerRequest
public WebServerRequest(HttpRequest<?> httpRequest, UriPath routePath)
-
WebServerRequest
public WebServerRequest(HttpRequest<?> httpRequest)
-
-
Method Detail
-
httpRequest
public final HttpRequest<?> httpRequest()
- Specified by:
httpRequest
in classWebRequest
-
routePath
public final UriPath routePath()
- Specified by:
routePath
in classWebRequest
-
routePath
public WebRequest routePath(UriPath routePath)
- Specified by:
routePath
in classWebRequest
-
-