java.lang.Object
io.helidon.webserver.http.DirectTransportRequest
- All Implemented Interfaces:
DirectHandler.TransportRequest
Simple request to use with
RequestException.-
Method Details
-
create
public static DirectHandler.TransportRequest create(String protocolAndVersion, String method, String path) Create a new request from as much known information as possible.- Parameters:
protocolAndVersion- protocol with versionmethod- methodpath- path- Returns:
- a new simple request
-
create
Configure a simple request from known prologue and headers.- Parameters:
prologue- parsed prologueheaders- parsed headers- Returns:
- a new simple request
-
protocolVersion
- Specified by:
protocolVersionin interfaceDirectHandler.TransportRequest
-
method
- Specified by:
methodin interfaceDirectHandler.TransportRequest
-
path
- Specified by:
pathin interfaceDirectHandler.TransportRequest
-
headers
- Specified by:
headersin interfaceDirectHandler.TransportRequest
-