public final class Method extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Method.PayloadExpectation |
Modifier and Type | Field and Description |
---|---|
static Method |
CONNECT |
static Method |
DELETE |
static Method |
GET |
static Method |
HEAD |
static Method |
OPTIONS |
static Method |
PATCH |
static Method |
POST |
static Method |
PUT |
static Method |
TRACE |
Modifier and Type | Method and Description |
---|---|
static Method |
CUSTOM(String methodName) |
static Method |
CUSTOM(String methodName,
Method.PayloadExpectation payloadExpectation) |
byte[] |
getMethodBytes() |
String |
getMethodString() |
Method.PayloadExpectation |
getPayloadExpectation() |
boolean |
matchesMethod(String method) |
String |
toString() |
static Method |
valueOf(DataChunk methodC) |
static Method |
valueOf(String method) |
public static final Method OPTIONS
public static final Method GET
public static final Method HEAD
public static final Method POST
public static final Method PUT
public static final Method DELETE
public static final Method TRACE
public static final Method CONNECT
public static final Method PATCH
public static Method CUSTOM(String methodName, Method.PayloadExpectation payloadExpectation)
public String getMethodString()
public byte[] getMethodBytes()
public Method.PayloadExpectation getPayloadExpectation()
public boolean matchesMethod(String method)
Copyright © 2014 Oracle Corporation. All rights reserved.