| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Action |
build()
Constructs an instance of
Action with the
current state of the builder. |
void |
clear()
Clears the state of the builder.
|
Action.Builder |
field(Field field)
Adds the field provided to the current state of the builder.
|
Action.Builder |
fields(Field... fields)
Adds the fields provided to the current state of the builder.
|
Action.Builder |
href(java.net.URI href)
Adds the href provided to the current state of the builder.
|
Action.Builder |
klass(java.lang.String klass)
Adds the class provided to the current state of the builder.
|
Action.Builder |
klasses(java.lang.String... klasses)
Adds the classes provided to the current state of the builder.
|
Action.Builder |
method(HttpMethod method)
Adds the method provided to the current state of the builder.
|
Action.Builder |
name(java.lang.String name)
Adds the name provided to the current state of the builder.
|
Action.Builder |
title(java.lang.String title)
Adds the title provided to the current state of the builder.
|
Action.Builder |
type(java.lang.String type)
Adds the type provided to the current state of the builder.
|
public Action.Builder name(java.lang.String name)
name - A string that identifies the action to be performed.public Action.Builder title(java.lang.String title)
title - Descriptive text about the action.public Action.Builder method(HttpMethod method)
method - An enumerated attribute mapping to a protocol method.public Action.Builder href(java.net.URI href)
href - The URI of the action.public Action.Builder type(java.lang.String type)
type - The encoding type for the request.public Action.Builder field(Field field)
field - Represent a control inside of the action.public Action.Builder fields(Field... fields)
fields - Represent controls inside of the action.public Action.Builder klass(java.lang.String klass)
klass - Describes the nature of an action based on the current representation.public Action.Builder klasses(java.lang.String... klasses)
klasses - Descriptions of the nature of an action based on the current representation.public void clear()
Copyright © 2017. All Rights Reserved.