public class DefaultResourceMessage extends Object implements ResourceMessage
Constructor and Description |
---|
DefaultResourceMessage(ResourceAction action,
CanonicalUri uri,
Class<? extends Resource> resourceClass,
Map<String,Object> data) |
DefaultResourceMessage(ResourceAction action,
CanonicalUri uri,
Class<? extends Resource> resourceClass,
Map<String,Object> data,
com.okta.commons.http.HttpHeaders customHeaders) |
Modifier and Type | Method and Description |
---|---|
ResourceAction |
getAction() |
Map<String,Object> |
getData() |
com.okta.commons.http.HttpHeaders |
getHttpHeaders() |
Class<? extends Resource> |
getResourceClass() |
CanonicalUri |
getUri() |
public DefaultResourceMessage(ResourceAction action, CanonicalUri uri, Class<? extends Resource> resourceClass, Map<String,Object> data)
public DefaultResourceMessage(ResourceAction action, CanonicalUri uri, Class<? extends Resource> resourceClass, Map<String,Object> data, com.okta.commons.http.HttpHeaders customHeaders)
public CanonicalUri getUri()
getUri
in interface ResourceMessage
public Class<? extends Resource> getResourceClass()
getResourceClass
in interface ResourceMessage
public Map<String,Object> getData()
getData
in interface ResourceMessage
public ResourceAction getAction()
getAction
in interface ResourceMessage
public com.okta.commons.http.HttpHeaders getHttpHeaders()
getHttpHeaders
in interface ResourceMessage
Copyright © 2017–2023 Okta. All rights reserved.