Uses of Enum Class
com.yahoo.jdisc.http.HttpRequest.Method
Package
Description
-
Uses of HttpRequest.Method in com.yahoo.container.jdisc
Modifier and TypeMethodDescriptionHttpRequest.getMethod()
Return the HTTP method (GET, POST...) of the incoming request.RequestView.method()
Modifier and TypeMethodDescriptionstatic HttpRequestBuilder
HttpRequestBuilder.create
(HttpRequest.Method method, String path) static HttpRequest
HttpRequest.createRequest
(com.yahoo.jdisc.service.CurrentContainer container, URI uri, HttpRequest.Method method, InputStream requestData) Create a new HTTP request from an URI.static HttpRequest
HttpRequest.createRequest
(com.yahoo.jdisc.service.CurrentContainer container, URI uri, HttpRequest.Method method, InputStream requestData, Map<String, String> properties) Create a new HTTP request from an URI.static HttpRequest
HttpRequest.createTestRequest
(String uri, HttpRequest.Method method) Only for simpler unit testing.static HttpRequest
HttpRequest.createTestRequest
(String uri, HttpRequest.Method method, InputStream requestData) Only for simpler unit testing.static HttpRequest
HttpRequest.createTestRequest
(String uri, HttpRequest.Method method, InputStream requestData, Map<String, String> properties) HttpRequest.Builder.method
(HttpRequest.Method method) Set the HTTP method for the new request.HttpMethodAclMapping.Builder.override
(HttpRequest.Method method, AclMapping.Action action) RequestHandlerTestDriver.sendRequest
(String uri, HttpRequest.Method method) RequestHandlerTestDriver.sendRequest
(String uri, HttpRequest.Method method, String body) Send a POST requestRequestHandlerTestDriver.sendRequest
(String uri, HttpRequest.Method method, String body, String contentType) Send a POST request with defined content typeRequestHandlerTestDriver.sendRequest
(String uri, HttpRequest.Method method, ByteBuffer body) RequestHandlerTestDriver.sendRequest
(String uri, HttpRequest.Method method, ByteBuffer body, String contentType) -
Uses of HttpRequest.Method in com.yahoo.jdisc.http
Modifier and TypeMethodDescriptionHttpRequest.getMethod()
static HttpRequest.Method
Returns the enum constant of this class with the specified name.static HttpRequest.Method[]
HttpRequest.Method.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic HttpRequest
HttpRequest.newClientRequest
(com.yahoo.jdisc.Request parent, URI uri, HttpRequest.Method method) static HttpRequest
HttpRequest.newClientRequest
(com.yahoo.jdisc.Request parent, URI uri, HttpRequest.Method method, HttpRequest.Version version) static HttpRequest
HttpRequest.newServerRequest
(com.yahoo.jdisc.service.CurrentContainer container, URI uri, HttpRequest.Method method) static HttpRequest
HttpRequest.newServerRequest
(com.yahoo.jdisc.service.CurrentContainer container, URI uri, HttpRequest.Method method, HttpRequest.Version version) static HttpRequest
HttpRequest.newServerRequest
(com.yahoo.jdisc.service.CurrentContainer container, URI uri, HttpRequest.Method method, HttpRequest.Version version, SocketAddress remoteAddress) static HttpRequest
HttpRequest.newServerRequest
(com.yahoo.jdisc.service.CurrentContainer container, URI uri, HttpRequest.Method method, HttpRequest.Version version, SocketAddress remoteAddress, long connectedAtMillis, long creationTime) void
HttpRequest.setMethod
(HttpRequest.Method method) ModifierConstructorDescriptionprotected
HttpRequest
(com.yahoo.jdisc.service.CurrentContainer container, URI uri, HttpRequest.Method method, HttpRequest.Version version, SocketAddress remoteAddress, Long connectedAtMillis, long creationTime) -
Uses of HttpRequest.Method in com.yahoo.jdisc.http.filter
-
Uses of HttpRequest.Method in com.yahoo.jdisc.http.filter.util
Modifier and TypeMethodDescriptionFilterTestUtils.RequestBuilder.withMethod
(HttpRequest.Method method) -
Uses of HttpRequest.Method in com.yahoo.restapi