public enum RequestBodyTypes extends java.lang.Enum<RequestBodyTypes>
| Enum Constant and Description |
|---|
BIGDECIMAL |
BOOLEAN |
DEFAULT |
MAP |
NO_REQUEST_PARAM |
STRING |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
compareRequestBody(RequestBody requestBody) |
static RequestBodyTypes |
fromString(java.lang.String requestBodyType) |
abstract java.lang.String |
getDefaultMessageBody(RequestBody requestBody) |
java.lang.String |
getType() |
abstract java.lang.Object |
getValidMockRequestBody(RequestBody requestBody) |
static RequestBodyTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestBodyTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestBodyTypes NO_REQUEST_PARAM
public static final RequestBodyTypes BOOLEAN
public static final RequestBodyTypes STRING
public static final RequestBodyTypes BIGDECIMAL
public static final RequestBodyTypes MAP
public static final RequestBodyTypes DEFAULT
public static RequestBodyTypes[] values()
for (RequestBodyTypes c : RequestBodyTypes.values()) System.out.println(c);
public static RequestBodyTypes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getType()
public abstract java.lang.Object getValidMockRequestBody(RequestBody requestBody) throws java.io.IOException
java.io.IOExceptionpublic abstract java.lang.String getDefaultMessageBody(RequestBody requestBody) throws java.io.IOException
java.io.IOExceptionpublic abstract boolean compareRequestBody(RequestBody requestBody) throws java.io.IOException, javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic static RequestBodyTypes fromString(java.lang.String requestBodyType)
Copyright © 2020. All Rights Reserved.