public class KSBHttpInvokerRequestExecutor extends org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor
CONTENT_TYPE_SERIALIZED_OBJECT, ENCODING_GZIP, HTTP_HEADER_ACCEPT_ENCODING, HTTP_HEADER_ACCEPT_LANGUAGE, HTTP_HEADER_CONTENT_ENCODING, HTTP_HEADER_CONTENT_LENGTH, HTTP_HEADER_CONTENT_TYPE, HTTP_METHOD_POST, logger| Constructor and Description | 
|---|
| KSBHttpInvokerRequestExecutor() | 
| KSBHttpInvokerRequestExecutor(Boolean secure) | 
| KSBHttpInvokerRequestExecutor(org.apache.http.client.HttpClient httpClient) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DigitalSignatureService | getDigitalSignatureService() | 
| protected JavaSecurityManagementService | getJavaSecurityManagementService() | 
| protected InputStream | getResponseBody(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config,
                              org.apache.http.HttpResponse postMethod)Returns a wrapped InputStream which is responsible for verifying the digital signature on the response after all
 data has been read. | 
| Boolean | getSecure() | 
| protected boolean | isSecure() | 
| protected void | setRequestBody(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config,
                            org.apache.http.client.methods.HttpPost httpPost,
                            ByteArrayOutputStream baos)Signs the outgoing request by generating a digital signature from the bytes in the ByteArrayOutputStream and attaching the
 signature and our alias to the headers of the PostMethod. | 
| void | setSecure(Boolean secure) | 
| protected void | signRequest(org.apache.http.client.methods.HttpPost postMethod,
                      ByteArrayOutputStream baos)Signs the request by adding headers to the PostMethod. | 
| protected void | validateResponse(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config,
                                org.apache.http.HttpResponse response) | 
createHttpPost, doExecuteRequest, executeHttpPost, getHttpClient, isGzipResponse, setConnectTimeout, setHttpClient, setReadTimeoutcreateObjectInputStream, decorateInputStream, decorateOutputStream, doReadRemoteInvocationResult, doWriteRemoteInvocation, executeRequest, getBeanClassLoader, getByteArrayOutputStream, getContentType, isAcceptGzipEncoding, readRemoteInvocationResult, setAcceptGzipEncoding, setBeanClassLoader, setContentType, writeRemoteInvocationpublic KSBHttpInvokerRequestExecutor()
public KSBHttpInvokerRequestExecutor(Boolean secure)
public KSBHttpInvokerRequestExecutor(org.apache.http.client.HttpClient httpClient)
protected void setRequestBody(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config, org.apache.http.client.methods.HttpPost httpPost, ByteArrayOutputStream baos) throws IOException
setRequestBody in class org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutorIOExceptionprotected InputStream getResponseBody(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config, org.apache.http.HttpResponse postMethod) throws IOException
getResponseBody in class org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutorIOExceptionprotected void validateResponse(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config, org.apache.http.HttpResponse response) throws HttpException
validateResponse in class org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutorHttpExceptionprotected void signRequest(org.apache.http.client.methods.HttpPost postMethod, ByteArrayOutputStream baos) throws Exception
Exceptionprotected boolean isSecure()
protected DigitalSignatureService getDigitalSignatureService()
protected JavaSecurityManagementService getJavaSecurityManagementService()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.