|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor com.liferay.portal.spring.remoting.AuthenticatingHttpInvokerRequestExecutor
public class AuthenticatingHttpInvokerRequestExecutor
An HttpInvoker request executor for Spring Remoting that provides HTTP BASIC authentication information for service invocations.
Field Summary |
---|
Fields inherited from class org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor |
---|
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 Summary | |
---|---|
AuthenticatingHttpInvokerRequestExecutor()
|
Method Summary | |
---|---|
String |
getPassword()
|
long |
getUserId()
|
protected void |
prepareConnection(HttpURLConnection con,
int contentLength)
Called every time a HTTP invocation is made. |
void |
setPassword(String password)
|
void |
setUserId(long userId)
|
Methods inherited from class org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor |
---|
doExecuteRequest, isGzipResponse, openConnection, readResponseBody, setConnectTimeout, setReadTimeout, validateResponse, writeRequestBody |
Methods inherited from class org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor |
---|
createObjectInputStream, decorateInputStream, decorateOutputStream, doReadRemoteInvocationResult, doWriteRemoteInvocation, executeRequest, getBeanClassLoader, getByteArrayOutputStream, getContentType, isAcceptGzipEncoding, readRemoteInvocationResult, setAcceptGzipEncoding, setBeanClassLoader, setContentType, writeRemoteInvocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthenticatingHttpInvokerRequestExecutor()
Method Detail |
---|
public String getPassword()
public long getUserId()
public void setPassword(String password) throws PwdEncryptorException
PwdEncryptorException
public void setUserId(long userId)
protected void prepareConnection(HttpURLConnection con, int contentLength) throws IOException
Authorization
HTTP header property for BASIC authentication.
prepareConnection
in class org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor
IOException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |