Class WebContentHandlerSpecification
- java.lang.Object
-
- org.apache.flink.runtime.rest.handler.legacy.files.WebContentHandlerSpecification
-
- All Implemented Interfaces:
RestHandlerSpecification
public final class WebContentHandlerSpecification extends Object implements RestHandlerSpecification
Rest handler specification for the web content handler.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpMethodWrapper
getHttpMethod()
Returns theHttpMethodWrapper
to be used for the request.static WebContentHandlerSpecification
getInstance()
Collection<RuntimeRestAPIVersion>
getSupportedAPIVersions()
Returns the supported API versions that this request supports.String
getTargetRestEndpointURL()
Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid
.
-
-
-
Method Detail
-
getHttpMethod
public HttpMethodWrapper getHttpMethod()
Description copied from interface:RestHandlerSpecification
Returns theHttpMethodWrapper
to be used for the request.- Specified by:
getHttpMethod
in interfaceRestHandlerSpecification
- Returns:
- http method to be used for the request
-
getTargetRestEndpointURL
public String getTargetRestEndpointURL()
Description copied from interface:RestHandlerSpecification
Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid
.- Specified by:
getTargetRestEndpointURL
in interfaceRestHandlerSpecification
- Returns:
- endpoint url that this request should be sent to
-
getInstance
public static WebContentHandlerSpecification getInstance()
-
getSupportedAPIVersions
public Collection<RuntimeRestAPIVersion> getSupportedAPIVersions()
Description copied from interface:RestHandlerSpecification
Returns the supported API versions that this request supports.- Specified by:
getSupportedAPIVersions
in interfaceRestHandlerSpecification
- Returns:
- Collection of supported API versions
-
-