org.glassfish.grizzly.http
Class Method
java.lang.Object
org.glassfish.grizzly.http.Method
public final class Method
- extends Object
Predefined HTTP methods
- Author:
- Alexey Stashok
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
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.