|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogic.wsee.jws.Protocol
public class Protocol
The Protocol class is an enumerated type that defines the set of
supported invocation protocols available for Weblogic Workshop component
invocation.
A Protocol instance has an ID, which is guaranteed to be unique and can
be safely used in switch statement against the various ID_xxx values,
and a name, which corresponds to the protocol name used to enable/disable
the protocol in the protocol tag.
It is also safe to use object equality to compare protocol values
obtained as parameters or via deserialization to the defined
constants.
For example:
Protocol.getProtocol(ID_HTTP_GET) == Protocol.HTTP_GET
is always guaranteed to be true.
Field Summary | |
---|---|
static Protocol |
HTTP_GET
|
static Protocol |
HTTP_POST
|
static Protocol |
HTTP_SOAP
|
static Protocol |
HTTP_SOAP12
|
static Protocol |
HTTP_XML
|
static int |
ID_HTTP_GET
Value indicating query-style invocation using HTTP GET |
static int |
ID_HTTP_POST
Value indicating query-style invocation using HTTP POST |
static int |
ID_HTTP_SOAP
Value indicating SOAP invocation using HTTP (POST) |
static int |
ID_HTTP_SOAP12
Value indicating SOAP12 invocation using HTTP (POST) |
static int |
ID_HTTP_XML
Value indicating raw XML using HTTP (POST) |
static int |
ID_JMS_SOAP
Value indicating SOAP invocation using JMS |
static int |
ID_JMS_SOAP12
Value indicating SOAP invocation using JMS |
static int |
ID_JMS_XML
Value indicating raw XML using HTTP (POST) |
static Protocol |
JAVA
|
static Protocol |
JMS_SOAP
|
static Protocol |
JMS_SOAP12
|
static Protocol |
JMS_XML
|
static int |
SCHEME_HTTP
|
static int |
SCHEME_JAVA
|
static int |
SCHEME_JMS
|
Method Summary | |
---|---|
int |
getID()
Returns the integer identifier associated with the protocol. |
String |
getName()
Returns the protocol name for the protocol. |
static Protocol |
getProtocol(boolean soap12,
String scheme)
|
static Protocol |
getProtocolByID(int id)
Returns the Protocol object selected by protocol id |
static Protocol |
getProtocolByName(String name)
Returns the Protocol object selected by protocol name |
static int |
getSchemeForProtocol(Protocol p)
|
static boolean |
isSoap(Protocol p)
|
static boolean |
isSoap11(Protocol p)
|
static boolean |
isSoap12(Protocol p)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ID_HTTP_GET
public static final int ID_HTTP_POST
public static final int ID_HTTP_SOAP
public static final int ID_HTTP_SOAP12
public static final int ID_HTTP_XML
public static final int ID_JMS_SOAP
public static final int ID_JMS_SOAP12
public static final int ID_JMS_XML
public static final Protocol JAVA
public static final Protocol HTTP_GET
public static final Protocol HTTP_POST
public static final Protocol HTTP_SOAP
public static final Protocol HTTP_SOAP12
public static final Protocol HTTP_XML
public static final Protocol JMS_SOAP
public static final Protocol JMS_SOAP12
public static final Protocol JMS_XML
public static final int SCHEME_JAVA
public static final int SCHEME_HTTP
public static final int SCHEME_JMS
Method Detail |
---|
public int getID()
public String getName()
public static Protocol getProtocolByID(int id)
public static Protocol getProtocolByName(String name)
public static boolean isSoap(Protocol p)
public static boolean isSoap11(Protocol p)
public static boolean isSoap12(Protocol p)
public String toString()
toString
in class Object
public static int getSchemeForProtocol(Protocol p)
public static Protocol getProtocol(boolean soap12, String scheme)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |