Uses of Class
org.javalite.activeweb.HttpSupport.HttpBuilder
-
Uses of HttpSupport.HttpBuilder in org.javalite.activeweb
Modifier and TypeMethodDescriptionHttpSupport.HttpBuilder.contentType(String contentType)
Sets content type of response.Sets a HTTP header on response.protected HttpSupport.HttpBuilder
HttpSupport.redirect()
Redirects to the same controller, and action "index".protected <T extends AppController>
HttpSupport.HttpBuilderRedirects to given controller, action "index" without any parameters.protected <T extends AppController>
HttpSupport.HttpBuilderConvenience method forHttpSupport.redirect(Class, java.util.Map)
.protected <T extends AppController>
HttpSupport.HttpBuilderConvenience method forHttpSupport.redirect(Class, java.util.Map)
.protected <T extends AppController>
HttpSupport.HttpBuilderConvenience method forHttpSupport.redirect(Class, java.util.Map)
.protected <T extends AppController>
HttpSupport.HttpBuilderRedirects to a controller, generates appropriate redirect path.protected HttpSupport.HttpBuilder
Redirects to a an action of this controller, or an action of a different controller.protected HttpSupport.HttpBuilder
Redirects to another URL (usually another site).protected HttpSupport.HttpBuilder
HttpSupport.redirectToReferrer()
Redirects to referrer if one exists.protected HttpSupport.HttpBuilder
HttpSupport.redirectToReferrer(String defaultReference)
Redirects to referrer if one exists.protected HttpSupport.HttpBuilder
This method will send the text to a client verbatim.protected HttpSupport.HttpBuilder
Convenience method for downloading files.protected HttpSupport.HttpBuilder
Convenience method for downloading files.protected HttpSupport.HttpBuilder
HttpSupport.streamOut(InputStream in)
Streams content of thereader
to the HTTP client.