org.glassfish.grizzly.http
Class Method
java.lang.Object
org.glassfish.grizzly.http.Method
public final class Method
- extends java.lang.Object
Predefined HTTP methods
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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(java.lang.String methodName)
parseDataChunk
public static Method parseDataChunk(DataChunk methodC)
getMethodString
public java.lang.String getMethodString()
getMethodBytes
public byte[] getMethodBytes()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
matchesMethod
public boolean matchesMethod(java.lang.String method)
Copyright © 2011 Oracle Corpration. All Rights Reserved.