Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.protocol
Interface Protocol


public interface Protocol

Representation of a protocol inside the server. Protocol implementations should provide an implementation of this class that can be registered with the ProtocolManager. Only registered protocols can be used in Channels or protocol discrimination.


Field Summary
static byte ADMIN
           
static byte CLUSTER
           
static byte CLUSTERS
           
static byte COM
           
static byte DYNAMIC_PROTOCOL
           
static byte HTTP
           
static byte HTTPS
           
static byte IIOP
           
static byte IIOPS
           
static byte JRMP
           
static byte LDAP
           
static byte LDAPS
           
static String PROTOCOL_ADMIN_NAME
          The name of the admin protocol.
static byte QOS_ADMIN
           
static byte QOS_ANY
          An enumeration of possible QOS values.
static byte QOS_SECURE
           
static byte SNMP
           
static byte T3
           
static byte T3S
           
 
Method Summary
 String getAsURLPrefix()
          Get a URL prefix for this protocol suitable for use in an InitialContext url.
 String getProtocolName()
          Get the indentifiable name of this protocol.
 byte getQOS()
          Return the QOS of this protocol.
 boolean isEnabled()
          Determine whether this protocol is suitable for use in the Server.
 boolean isSatisfactoryQOS(byte QOS)
          Determine whether this protocol can satisfy the desired QOS.
 boolean isSecure()
          Determine whether this protocol is secure, i.e.
 boolean isUnknown()
          Deprecated.  
 byte toByte()
          Return the index of this Protocol.
 Protocol upgrade()
          upgrade this protocol to a more secure version.
 

Field Detail

QOS_ANY

static final byte QOS_ANY
An enumeration of possible QOS values.

See Also:
Constant Field Values

QOS_SECURE

static final byte QOS_SECURE
See Also:
Constant Field Values

QOS_ADMIN

static final byte QOS_ADMIN
See Also:
Constant Field Values

T3

static final byte T3
See Also:
Constant Field Values

HTTP

static final byte HTTP
See Also:
Constant Field Values

T3S

static final byte T3S
See Also:
Constant Field Values

HTTPS

static final byte HTTPS
See Also:
Constant Field Values

ADMIN

static final byte ADMIN
See Also:
Constant Field Values

LDAP

static final byte LDAP
See Also:
Constant Field Values

LDAPS

static final byte LDAPS
See Also:
Constant Field Values

IIOP

static final byte IIOP
See Also:
Constant Field Values

IIOPS

static final byte IIOPS
See Also:
Constant Field Values

COM

static final byte COM
See Also:
Constant Field Values

JRMP

static final byte JRMP
See Also:
Constant Field Values

CLUSTER

static final byte CLUSTER
See Also:
Constant Field Values

CLUSTERS

static final byte CLUSTERS
See Also:
Constant Field Values

DYNAMIC_PROTOCOL

static final byte DYNAMIC_PROTOCOL
See Also:
Constant Field Values

SNMP

static final byte SNMP
See Also:
Constant Field Values

PROTOCOL_ADMIN_NAME

static final String PROTOCOL_ADMIN_NAME
The name of the admin protocol.

See Also:
Constant Field Values
Method Detail

getProtocolName

String getProtocolName()
Get the indentifiable name of this protocol. The protocol name must be unique and is used for mapping from a configured Channel's protocol to the actual Protocol. The name is also used for connection filtering.


getAsURLPrefix

String getAsURLPrefix()
Get a URL prefix for this protocol suitable for use in an InitialContext url.


toByte

byte toByte()
Return the index of this Protocol. The first 8 slots are special since they reflect protocols supported in previous release for which we have to maintain the relative index. Note that there can only be 256 configured protocols.


getQOS

byte getQOS()
Return the QOS of this protocol.


isSatisfactoryQOS

boolean isSatisfactoryQOS(byte QOS)
Determine whether this protocol can satisfy the desired QOS.


isSecure

boolean isSecure()
Determine whether this protocol is secure, i.e. supports TLS.


isUnknown

boolean isUnknown()
Deprecated. 

Determine whether this protocol is unknown.


isEnabled

boolean isEnabled()
Determine whether this protocol is suitable for use in the Server. It is possible for protocols to be configured but disabled.


upgrade

Protocol upgrade()
upgrade this protocol to a more secure version.

Returns:
the upgraded protocol or UNKNOWN if none.

Copyright 1996, 2014, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02