Uses of Class
com.google.sitebricks.headless.Reply

Packages that use Reply
com.google.sitebricks.headless   
com.google.sitebricks.routing   
 

Uses of Reply in com.google.sitebricks.headless
 

Fields in com.google.sitebricks.headless declared as Reply
static Reply<?> Reply.NO_REPLY
           
 

Methods in com.google.sitebricks.headless that return Reply
abstract  Reply<E> Reply.as(Class<? extends Transport> transport)
          Directs sitebricks to use the given Guice key as a transport to marshall the provided entity to the client.
abstract  Reply<E> Reply.as(com.google.inject.Key<? extends Transport> transport)
          Same as as(Class).
abstract  Reply<E> Reply.error()
          Perform a 500 general error response.
abstract  Reply<E> Reply.forbidden()
          Perform a 403 resource forbidden error response.
abstract  Reply<E> Reply.headers(Map<String,String> headers)
          A Map of headers to set directly on the response.
abstract  Reply<E> Reply.noContent()
          Perform a 204 no content response.
abstract  Reply<E> Reply.notFound()
          Perform a 404 not found reply.
abstract  Reply<E> Reply.ok()
          Perform a 200 OK response with no body.
abstract  Reply<E> Reply.redirect(String uri)
          Perform a 302 redirect to the given uri (moved temporarily).
static
<E> Reply<E>
Reply.saying()
          Convenience method to make a reply without any entity or body.
abstract  Reply<E> Reply.seeOther(String uri)
          Perform a 301 redirect (moved permanently) to the given uri.
abstract  Reply<E> Reply.seeOther(String uri, int statusCode)
          Perform a custom redirect to the given uri.
abstract  Reply<E> Reply.status(int code)
          Set a custom status code (call this last, it will be overridden if other response code directives are called afterward).
abstract  Reply<E> Reply.template(Class<?> templateKey)
          Render template associated with the given class.
abstract  Reply<E> Reply.type(String mediaType)
          The media type of the response data to send to the client.
abstract  Reply<E> Reply.unauthorized()
          Perform a 401 not authorized reply.
static
<E> Reply<E>
Reply.with(E entity)
          Returns a reply with an entity that is sent back to the client via the specified transport.
 

Uses of Reply in com.google.sitebricks.routing
 

Methods in com.google.sitebricks.routing that return Reply
protected abstract  Reply<?> ServiceAction.call(Request request, Map<String,String> pathFragments)
           
 



Copyright © 2014. All rights reserved.