org.glassfish.grizzly.http
Class Method

java.lang.Object
  extended by org.glassfish.grizzly.http.Method

public final class Method
extends Object

Predefined HTTP methods

Author:
Alexey Stashok

Field Summary
static Method CONNECT
           
static Method DELETE
           
static Method GET
           
static Method HEAD
           
static Method OPTIONS
           
static Method POST
           
static Method PUT
           
static Method TRACE
           
 
Method Summary
static Method CUSTOM(String methodName)
           
 byte[] getMethodBytes()
           
 String getMethodString()
           
static Method parseDataChunk(DataChunk methodC)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OPTIONS

public static final Method OPTIONS

GET

public static final Method GET

HEAD

public static final Method HEAD

POST

public static final Method POST

PUT

public static final Method PUT

DELETE

public static final Method DELETE

TRACE

public static final Method TRACE

CONNECT

public static final Method CONNECT
Method Detail

CUSTOM

public static Method CUSTOM(String methodName)

parseDataChunk

public static Method parseDataChunk(DataChunk methodC)

getMethodString

public String getMethodString()

getMethodBytes

public byte[] getMethodBytes()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Oracle Corpration. All Rights Reserved.