Class Request<T>
- java.lang.Object
-
- org.gbif.api.model.common.messaging.Request<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Request.Builder<T>
Builder class forRequest
instances.static class
Request.OperationType
CRUD operation types.
-
Constructor Summary
Constructors Constructor Description Request()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getContent()
Map<String,String>
getContext()
Context contains additional request parameters.void
setContext(Map<String,String> context)
void
setParameter(T content)
-
-
-
Constructor Detail
-
Request
public Request()
-
-
Method Detail
-
getContent
public T getContent()
- Returns:
- the content
-
getContext
public Map<String,String> getContext()
Context contains additional request parameters.- Returns:
- the context
-
setContext
public void setContext(Map<String,String> context)
- Parameters:
context
- the context to set
-
setParameter
public void setParameter(T content)
- Parameters:
content
- the content to set
-
-