Uses of Class
com.helger.photon.app.PhotonUnifiedResponse
Packages that use PhotonUnifiedResponse
-
Uses of PhotonUnifiedResponse in com.helger.photon.app
Methods in com.helger.photon.app that return PhotonUnifiedResponseModifier and TypeMethodDescriptionPhotonUnifiedResponse.attachment(String sFilename) PhotonUnifiedResponse.binary(com.helger.commons.io.stream.NonBlockingByteArrayOutputStream aBAOS, com.helger.commons.mime.IMimeType aMimeType, String sFilename) PhotonUnifiedResponse.createAccepted()HTTP 202 AcceptedPhotonUnifiedResponse.createBadRequest()HTTP 400 Bad RequestPhotonUnifiedResponse.createConflict()HTTP 409 ConflictPhotonUnifiedResponse.createInternalServerError()HTTP 500 Internal Server ErrorPhotonUnifiedResponse.createNoContent()HTTP 204 No ContentPhotonUnifiedResponse.createNotFound()HTTP 404 Not FoundPhotonUnifiedResponse.createOk()HTTP 200 OKPhotonUnifiedResponse.createPreconditionFailed()HTTP 412 Precondition FailedPhotonUnifiedResponse.createSeeOther(com.helger.commons.url.ISimpleURL aRedirectTargetURL) HTTP 303 See Otherstatic PhotonUnifiedResponsePhotonUnifiedResponse.createSimple(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope) Factory methodPhotonUnifiedResponse.html(com.helger.html.hc.IHCHasChildrenMutable<?, ? super com.helger.html.hc.IHCNode> aNode, com.helger.html.hc.config.IHCOnDocumentReadyProvider aOnDocumentReadyProvider, com.helger.json.IJsonObject aCustomJson) PhotonUnifiedResponse.html(com.helger.html.hc.IHCNode aNode) PhotonUnifiedResponse.htmlSimple(com.helger.html.hc.IHCNode aNode) Create a simple HTML response without JSON structuringPhotonUnifiedResponse.json(com.helger.json.IJson aValue) PhotonUnifiedResponse.jsonEmpty()PhotonUnifiedResponse.pdf(com.helger.commons.io.stream.NonBlockingByteArrayOutputStream aBAOS) PhotonUnifiedResponse.pdf(com.helger.commons.io.stream.NonBlockingByteArrayOutputStream aBAOS, String sFilename) PhotonUnifiedResponse.serialized(Serializable aObj) PhotonUnifiedResponse.setContent(com.helger.commons.io.stream.NonBlockingByteArrayOutputStream aBAOS) PhotonUnifiedResponse.xml(com.helger.xml.microdom.IMicroNode aNode) PhotonUnifiedResponse.xml(com.helger.xml.microdom.IMicroNode aNode, com.helger.xml.serialize.write.IXMLWriterSettings aSettings)