Uses of Enum Class
com.soklet.HttpMethod
Packages that use HttpMethod
-
Uses of HttpMethod in com.soklet
Subclasses with type arguments of type HttpMethod in com.sokletMethods in com.soklet that return HttpMethodModifier and TypeMethodDescriptionCorsPreflight.getAccessControlRequestMethod()The HTTPAccess-Control-Request-Methodrequest header value.Cors.getHttpMethod()The HTTP method for this request.Request.getHttpMethod()The HTTP method for this request.ResourceMethod.getHttpMethod()Returns the HTTP method for this Resource Method.MetricsCollector.ServerRouteKey.method()Returns the value of themethodrecord component.MetricsCollector.ServerRouteStatusKey.method()Returns the value of themethodrecord component.static HttpMethodReturns the enum constant of this class with the specified name.static HttpMethod[]HttpMethod.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.soklet that return types with arguments of type HttpMethodModifier and TypeMethodDescriptionCorsPreflightResponse.getAccessControlAllowMethods()Set of values for theAccess-Control-Allow-Methodsresponse header.static @NonNull Set<@NonNull HttpMethod> HttpMethod.valuesAsSet()ExposesHttpMethod.values()as aSetfor convenience.Methods in com.soklet with parameters of type HttpMethodModifier and TypeMethodDescriptionstatic @NonNull ResourceMethodResourceMethod.fromComponents(@NonNull HttpMethod httpMethod, @NonNull ResourcePathDeclaration resourcePathDeclaration, @NonNull Method method, @NonNull Boolean serverSentEventSource) Vends a Resource Method given its unique components.Cors.fromHeaders(@NonNull HttpMethod httpMethod, @NonNull Map<@NonNull String, @NonNull Set<@NonNull String>> headers) Extracts a CORS non-preflight request representation from the given HTTP request data.Cors.fromOrigin(@NonNull HttpMethod httpMethod, @NonNull String origin) Acquires a CORS non-preflight request representation for the given HTTP request data.Request.fromPath(@NonNull HttpMethod httpMethod, @NonNull String path) Creates aRequestfrom a path without additional customization.Request.fromRawUrl(@NonNull HttpMethod httpMethod, @NonNull String rawUrl) Creates aRequestfrom a raw request target without additional customization.Request.Copier.httpMethod(@NonNull HttpMethod httpMethod) Request.PathBuilder.httpMethod(@NonNull HttpMethod httpMethod) Request.RawBuilder.httpMethod(@NonNull HttpMethod httpMethod) static @NonNull CorsPreflightCorsPreflight.with(@NonNull String origin, @NonNull HttpMethod accessControlRequestMethod) Acquires a CORS preflight request representation for the given HTTP request data.static @NonNull CorsPreflightCorsPreflight.with(@NonNull String origin, @NonNull HttpMethod accessControlRequestMethod, @Nullable Set<@NonNull String> accessControlRequestHeaders) Acquires a CORS preflight request representation for the given HTTP request data.static @NonNull Request.PathBuilderRequest.withPath(@NonNull HttpMethod httpMethod, @NonNull String path) Acquires a builder forRequestinstances from already-decoded path and query components - useful for manual construction, e.g. integration tests.static @NonNull Request.RawBuilderRequest.withRawUrl(@NonNull HttpMethod httpMethod, @NonNull String rawUrl) Acquires a builder forRequestinstances from the URL provided by clients on a "raw" HTTP/1.1 request line.Method parameters in com.soklet with type arguments of type HttpMethodModifier and TypeMethodDescriptionCorsPreflightResponse.Builder.accessControlAllowMethods(@Nullable Set<@NonNull HttpMethod> accessControlAllowMethods) CorsPreflightResponse.Copier.accessControlAllowMethods(@Nullable Set<@NonNull HttpMethod> accessControlAllowMethods) CorsPreflightResponse.Copier.accessControlAllowMethods(@NonNull Consumer<Set<@NonNull HttpMethod>> accessControlAllowMethodsConsumer) CorsAuthorizer.authorizePreflight(@NonNull Request request, @NonNull CorsPreflight corsPreflight, @NonNull Map<@NonNull HttpMethod, @NonNull ResourceMethod> availableResourceMethodsByHttpMethod) Authorizes a CORS preflight request.ResponseMarshaler.forMethodNotAllowed(@NonNull Request request, @NonNull Set<@NonNull HttpMethod> allowedHttpMethods) Prepares a response for a request that triggers an HTTP 405 Method Not Allowed.ResponseMarshaler.forOptions(@NonNull Request request, @NonNull Set<@NonNull HttpMethod> allowedHttpMethods) Prepares a response for an HTTPOPTIONSrequest.ResponseMarshaler.Builder.MethodNotAllowedHandler.handle(@NonNull Request request, @NonNull Set<@NonNull HttpMethod> allowedHttpMethods) Prepares a response for a request that triggers an HTTP 405 Method Not Allowed.ResponseMarshaler.Builder.OptionsHandler.handle(@NonNull Request request, @NonNull Set<@NonNull HttpMethod> allowedHttpMethods) Prepares a response for an HTTPOPTIONSrequest.Constructors in com.soklet with parameters of type HttpMethodModifierConstructorDescriptionServerRouteKey(@NonNull HttpMethod method, @NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route) Creates an instance of aServerRouteKeyrecord class.ServerRouteStatusKey(@NonNull HttpMethod method, @NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull String statusClass) Creates an instance of aServerRouteStatusKeyrecord class.