类的使用
com.baidu.mochow.internal.InternalRequest
使用InternalRequest的程序包
程序包
说明
-
com.baidu.mochow.auth中InternalRequest的使用
参数类型为InternalRequest的com.baidu.mochow.auth中的方法修饰符和类型方法说明voidSigner.sign(InternalRequest request, Credentials credentials) Sign the given request with the given set of credentials.voidSigner.sign(InternalRequest request, Credentials credentials, SignOptions options) Sign the given request with the given set of credentials. -
com.baidu.mochow.client中InternalRequest的使用
修饰符和类型方法说明protected InternalRequestMochowClient.createRequest(AbstractMochowRequest bceRequest, HttpMethodName httpMethod, String... pathVariables) Creates and initializes a new request object for the specified resource.参数类型为InternalRequest的com.baidu.mochow.client中的方法修饰符和类型方法说明protected <T extends AbstractMochowResponse>
TAbstractMochowClient.invokeHttpClient(InternalRequest request, Class<T> responseClass) Subclasses should invoke this method for sending request to the target service. -
com.baidu.mochow.http中InternalRequest的使用
参数类型为InternalRequest的com.baidu.mochow.http中的方法修饰符和类型方法说明protected org.apache.http.client.protocol.HttpClientContextHttpClient.createHttpContext(InternalRequest request) Creates HttpClient Context object based on the internal request.protected org.apache.http.client.methods.HttpRequestBaseHttpClient.createHttpRequest(InternalRequest request) Creates HttpClient method object based on the specified request and populates any parameters, headers, etc. from the internal request.<T extends AbstractMochowResponse>
THttpClient.execute(InternalRequest request, Class<T> responseClass, HttpResponseHandler[] responseHandlers) Executes the request and returns the result. -
com.baidu.mochow.internal中InternalRequest的使用
修饰符和类型方法说明static InternalRequestBaseRequest.toInternalRequest(BaseRequest request) transfer from base request to internal request