public final class WebContentHandlerSpecification extends Object implements RestHandlerSpecification
| 限定符和类型 | 方法和说明 |
|---|---|
HttpMethodWrapper |
getHttpMethod()
Returns the
HttpMethodWrapper 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. |
public HttpMethodWrapper getHttpMethod()
RestHandlerSpecificationHttpMethodWrapper to be used for the request.getHttpMethod 在接口中 RestHandlerSpecificationpublic String getTargetRestEndpointURL()
RestHandlerSpecification/job/:jobid.getTargetRestEndpointURL 在接口中 RestHandlerSpecificationpublic static WebContentHandlerSpecification getInstance()
public Collection<RuntimeRestAPIVersion> getSupportedAPIVersions()
RestHandlerSpecificationgetSupportedAPIVersions 在接口中 RestHandlerSpecificationCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.