|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CallbackInterface
Weblogic specific stub functionality for callback stub.
Field Summary | |
---|---|
static long |
serialVersionUID
|
Method Summary | |
---|---|
String |
getConversationID()
This method retrieves the conversation id from the stub |
URL |
getEndPoint()
Deprecated. use the getEndpointAddress() method instead |
String |
getEndpointAddress()
Gets the endpoint address that the callback instance will use as the base URL. |
Element[] |
getInputHeaders()
Tthis method returns the input headers from the stub |
String |
getPassword()
Retrieves the password string that was set by the most recent call to the setPassword method. |
Protocol |
getProtocol()
Deprecated. |
int |
getTimeout()
Gets the timeout that has been set by setTimeout() for the underlying HttpURLConnection, in milliseconds. |
String |
getUsername()
Retrieves the username string that was set by the most recent call to setUsername. |
void |
reset()
Clears all parameters that were set by previous calls to the setOutputHeaders, setPassword, or setUsername methods. |
void |
setClientCert(String alias,
String password)
Specifies the information to look up the client certificate when using 2-way SSL. |
void |
setEndPoint(URL url)
Deprecated. use the setEndpointAddress() method instead |
void |
setEndpointAddress(String url)
Provides manual control over the end point address |
void |
setKeystore(String location,
String password)
Specifies the keystore information (including type) to use when using client certificates with Secure Sockets Layer (SSL). |
void |
setKeystore(String location,
String password,
String type)
Specifies the keystore information (including type) to use when using client certificates with Secure Sockets Layer (SSL). |
void |
setOutputHeaders(Element[] headers)
This method sets the output headers on the stub so that they will be sent with the next outbound message |
void |
setPassword(String password)
Sets the password that will be sent with the next outgoing callback Web Service method invocation. |
void |
setProtocol(Protocol protocol)
Deprecated. This method cannot be used to pick a callback endpoint address with the callback protocol. If you wish to do this please use the setEndpointAddress api |
void |
setTimeout(int timeout)
Sets the timeout for the underlying HttpURLConnection in milliseconds. |
void |
setTruststore(String location,
String password)
Set the trust-store to use to validate the server using SSL. |
void |
setTruststore(String location,
String password,
String type)
Set the trust-store to use to validate the server using SSL. |
void |
setUsername(String username)
Sets the username that will be sent with the next outgoing Web callback method invocation. |
void |
useClientKeySSL(boolean b)
Specifies whether a client certificate should be used with Secure Sockets Layer (SSL). |
Field Detail |
---|
static final long serialVersionUID
Method Detail |
---|
String getConversationID()
void setEndPoint(URL url)
url
- The new destination for callbacks.URL getEndPoint()
void setEndpointAddress(String url)
url
- The new destination for callbacks.String getEndpointAddress()
void setUsername(String username)
username
- The username to send for authentication.void setPassword(String password)
password
- The password to send for authentication.String getUsername()
String getPassword()
void setProtocol(Protocol protocol)
protocol
- The protocol to use.Protocol getProtocol()
void setTimeout(int timeout)
int getTimeout()
Element[] getInputHeaders()
void setOutputHeaders(Element[] headers)
headers
- - set the methods on the headervoid setClientCert(String alias, String password)
alias
- The path to the keystore (JKS) file.password
- The password for the keystore.void setKeystore(String location, String password)
location
- The path to the keystore (JKS) file.password
- The password for the keystore.void setKeystore(String location, String password, String type)
location
- The path to the keystore (JKS) file.password
- The password for the keystore.type
- The type of keystore to use.void setTruststore(String location, String password)
location
- the file path to the trust-store file.password
- the trust-store password.type
- the type of trust-store.void setTruststore(String location, String password, String type)
location
- the file path to the trust-store file.password
- the trust-store password.type
- the type of trust-store. Default is JKS.void reset()
void useClientKeySSL(boolean b)
b
- true
to use a client certificate;
otherwise, false
.
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111 Copyright 1996,2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Part Number E13941-01 Oracle WebLogic Server 10.3.1 API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |