Class OAuthResponse
java.lang.Object
org.apache.oltu.oauth2.common.message.OAuthResponse
- All Implemented Interfaces:
OAuthMessage
- Direct Known Subclasses:
OAuthASResponse
,OAuthRSResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
errorResponse
(int code) getBody()
int
void
void
setHeaders
(Map<String, String> headers) void
setLocationUri
(String uri) status
(int code)
-
Method Details
-
status
-
errorResponse
-
getLocationUri
- Specified by:
getLocationUri
in interfaceOAuthMessage
-
setLocationUri
- Specified by:
setLocationUri
in interfaceOAuthMessage
-
getBody
- Specified by:
getBody
in interfaceOAuthMessage
-
setBody
- Specified by:
setBody
in interfaceOAuthMessage
-
getHeader
- Specified by:
getHeader
in interfaceOAuthMessage
-
getHeaders
- Specified by:
getHeaders
in interfaceOAuthMessage
-
setHeaders
- Specified by:
setHeaders
in interfaceOAuthMessage
-
getResponseStatus
public int getResponseStatus() -
addHeader
- Specified by:
addHeader
in interfaceOAuthMessage
-