Class TaskManagerLogFileHeaders
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerLogFileHeaders
-
- All Implemented Interfaces:
RestHandlerSpecification
,RuntimeUntypedResponseMessageHeaders<EmptyRequestBody,TaskManagerMessageParameters>
,UntypedResponseMessageHeaders<EmptyRequestBody,TaskManagerMessageParameters>
public class TaskManagerLogFileHeaders extends Object implements RuntimeUntypedResponseMessageHeaders<EmptyRequestBody,TaskManagerMessageParameters>
Headers for theTaskManagerLogFileHandler
.
-
-
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 TaskManagerLogFileHeaders
getInstance()
Class<EmptyRequestBody>
getRequestClass()
Returns the class of the request message.String
getTargetRestEndpointURL()
Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid
.TaskManagerMessageParameters
getUnresolvedMessageParameters()
Returns a newMessageParameters
object.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.RuntimeUntypedResponseMessageHeaders
getSupportedAPIVersions
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders
acceptsFileUploads
-
-
-
-
Method Detail
-
getRequestClass
public Class<EmptyRequestBody> getRequestClass()
Description copied from interface:UntypedResponseMessageHeaders
Returns the class of the request message.- Specified by:
getRequestClass
in interfaceUntypedResponseMessageHeaders<EmptyRequestBody,TaskManagerMessageParameters>
- Returns:
- class of the request message
-
getUnresolvedMessageParameters
public TaskManagerMessageParameters getUnresolvedMessageParameters()
Description copied from interface:UntypedResponseMessageHeaders
Returns a newMessageParameters
object.- Specified by:
getUnresolvedMessageParameters
in interfaceUntypedResponseMessageHeaders<EmptyRequestBody,TaskManagerMessageParameters>
- Returns:
- new message parameters object
-
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 TaskManagerLogFileHeaders getInstance()
-
-