public class HdfsHttpClientDispatch extends DefaultDispatch
auditor, LOG, RES, SET_COOKIE, WWW_AUTHENTICATEclient| Constructor and Description |
|---|
HdfsHttpClientDispatch() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.HttpEntity |
createRequestEntity(javax.servlet.http.HttpServletRequest request)
This method ensures that the request InputStream is not acquired
prior to a dispatch to a component such as a namenode that doesn't
the request body.
|
addCredentialsToRequest, closeInboundResponse, destroy, doDelete, doGet, doHead, doOptions, doPost, doPut, executeOutboundRequest, executeRequest, getOutboundResponseExcludeHeaders, getReplayBufferSize, getReplayBufferSizeInBytes, init, setReplayBufferSize, setReplayBufferSizeInBytes, writeOutboundResponsecopyRequestHeaderFields, encodeUnwiseCharacters, getDispatchUrl, getHttpClient, getOutboundRequestExcludeHeaders, setHttpClient, writeResponsepublic HdfsHttpClientDispatch()
throws javax.servlet.ServletException
javax.servlet.ServletExceptionprotected org.apache.http.HttpEntity createRequestEntity(javax.servlet.http.HttpServletRequest request)
throws IOException
createRequestEntity in class DefaultDispatchIOExceptionCopyright © 2018 Apache Software Foundation. All rights reserved.