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 HttpMethodWrappergetHttpMethod()Returns theHttpMethodWrapperto be used for the request.static WebContentHandlerSpecificationgetInstance()Collection<RuntimeRestAPIVersion>getSupportedAPIVersions()Returns the supported API versions that this request supports.StringgetTargetRestEndpointURL()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:RestHandlerSpecificationReturns theHttpMethodWrapperto be used for the request.- Specified by:
getHttpMethodin interfaceRestHandlerSpecification- Returns:
- http method to be used for the request
-
getTargetRestEndpointURL
public String getTargetRestEndpointURL()
Description copied from interface:RestHandlerSpecificationReturns the generalized endpoint url that this request should be sent to, for example/job/:jobid.- Specified by:
getTargetRestEndpointURLin 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:RestHandlerSpecificationReturns the supported API versions that this request supports.- Specified by:
getSupportedAPIVersionsin interfaceRestHandlerSpecification- Returns:
- Collection of supported API versions
-
-