public class QueryParameter
extends java.lang.Object
implements io.micronaut.core.naming.Named
Constructor and Description |
---|
QueryParameter(java.lang.String name)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
int |
hashCode() |
static QueryParameter |
of(java.lang.String name)
Creates a new query parameter for the given name.
|
public QueryParameter(@NonNull java.lang.String name)
name
- The parameter name@NonNull public java.lang.String getName()
getName
in interface io.micronaut.core.naming.Named
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
@NonNull public static QueryParameter of(@NonNull java.lang.String name)
name
- The name