org.jboss.seam.social.rest
Interface RestResponse
- All Known Implementing Classes:
- RestResponseScribe
public interface RestResponse
Implementation of this interface represent an Http Response
- Author:
- Antoine Sabot-Durand
getBody
String getBody()
- Returns:
- the body of the response in a
String
getStream
InputStream getStream()
- Returns:
- the body of the response in a
InputStream
getCode
int getCode()
- Returns:
- the HTTP return code of the response
getHeaders
Map<String,String> getHeaders()
- Returns:
- the HTTP Response headers in
Map
getHeader
String getHeader(String name)
- Parameters:
name
- of the HTTP header
- Returns:
- the value of the HTTP header
Copyright © 2011 Seam Framework. All Rights Reserved.