org.restlet.ext.sip
Class SipMethod

java.lang.Object
  extended by org.restlet.ext.sip.SipMethod

public final class SipMethod
extends Object

Constants for SIP methods.

Author:
Jerome Louvel

Field Summary
static Method ACK
          Confirms that the client has received a final response to an INVITE request.
static Method BYE
          Terminates a call and can be sent by either the caller or the callee.
static Method CANCEL
          Cancels any pending request.
static Method INFO
          Allow for the carrying of session related control information that is generated during a session.
static Method INVITE
          Indicates a client is being invited to participate in a call session.
static Method NOTIFY
          Sent to inform subscribers of changes in state to which the subscriber has a subscription.
static Method OPTIONS
          Queries the capabilities of servers.
static Method PUBLISH
          Publishes event state.
static Method REFER
          The recipient should refer to a resource provided in the Refer-To header field of the request.
static Method REGISTER
          Registers the address listed in the To header field with a SIP server.
static Method SUBSCRIBE
          Used to request current state and state updates from a remote node.
 
Constructor Summary
SipMethod()
           
 
Method Summary
static Method valueOf(String name)
          Returns the method associated to a given method name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACK

public static final Method ACK
Confirms that the client has received a final response to an INVITE request.

See Also:
SIP RFC - 17.1.1.3 ACK

BYE

public static final Method BYE
Terminates a call and can be sent by either the caller or the callee.

See Also:
SIP RFC - 15.1 BYE

CANCEL

public static final Method CANCEL
Cancels any pending request.

See Also:
SIP RFC - 9 CANCEL

INFO

public static final Method INFO
Allow for the carrying of session related control information that is generated during a session.

See Also:
RFC 2976 - The SIP INFO Method

INVITE

public static final Method INVITE
Indicates a client is being invited to participate in a call session.

See Also:
SIP RFC - 17 INVITE

NOTIFY

public static final Method NOTIFY
Sent to inform subscribers of changes in state to which the subscriber has a subscription.

See Also:
RFC 3265 - 3.2. Description of NOTIFY Behavior

OPTIONS

public static final Method OPTIONS
Queries the capabilities of servers.

See Also:
SIP RFC - 11 OPTIONS

PUBLISH

public static final Method PUBLISH
Publishes event state.

See Also:
RFC 3903 - 4. Constructing PUBLISH Requests

REFER

public static final Method REFER
The recipient should refer to a resource provided in the Refer-To header field of the request.

See Also:
SIP REFER RFC - 2 REFER

REGISTER

public static final Method REGISTER
Registers the address listed in the To header field with a SIP server.

See Also:
SIP RFC - 10 REGISTER

SUBSCRIBE

public static final Method SUBSCRIBE
Used to request current state and state updates from a remote node.

See Also:
RFC 3265 - 3.1. Description of SUBSCRIBE Behavior
Constructor Detail

SipMethod

public SipMethod()
Method Detail

valueOf

public static Method valueOf(String name)
Returns the method associated to a given method name. If an existing constant exists then it is returned, otherwise a new instance is created.

Parameters:
name - The method name.
Returns:
The associated method.


Copyright © 2005-2013 Restlet.