| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.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_GETValue indicating query-style invocation using HTTP GET | 
| static int | ID_HTTP_POSTValue indicating query-style invocation using HTTP POST | 
| static int | ID_HTTP_SOAPValue indicating SOAP invocation using HTTP (POST) | 
| static int | ID_HTTP_SOAP12Value indicating SOAP12 invocation using HTTP (POST) | 
| static int | ID_HTTP_XMLValue indicating raw XML using HTTP (POST) | 
| static int | ID_JMS_SOAPValue indicating SOAP invocation using JMS | 
| static int | ID_JMS_SOAP12Value indicating SOAP invocation using JMS | 
| static int | ID_JMS_XMLValue 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 Objectpublic static int getSchemeForProtocol(Protocol p)
public static Protocol getProtocol(boolean soap12,
                                   String scheme)
| 
 | Copyright 1996, 2010, 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. Oracle Fusion Middleware Oracle WebLogic Server 10.3.3 API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||