public Writer getResponseWriter() throws IllegalStateException { assertResponseAllowed(); try { return response.getWriter(); } catch (IOException e) { IllegalStateException ise = new IllegalStateException("Unable to access the response Writer"); ise.initCause(e); throw ise; } }
public void requestFlowExecutionRedirect() throws IllegalStateException { assertResponseAllowed(); flowExecutionRedirectRequested = true; recordResponseComplete(); }
public void requestExternalRedirect(String location) throws IllegalStateException { assertResponseAllowed(); externalRedirectUrl = location; recordResponseComplete(); }
public void requestFlowDefinitionRedirect(String flowId, MutableAttributeMap<?> input) throws IllegalStateException { assertResponseAllowed(); flowDefinitionRedirectFlowId = flowId; flowDefinitionRedirectFlowInput = new LocalAttributeMap<>(); if (input != null) { flowDefinitionRedirectFlowInput.putAll(input); } recordResponseComplete(); }
public Writer getResponseWriter() throws IllegalStateException { assertResponseAllowed(); try { return response.getWriter(); } catch (IOException e) { IllegalStateException ise = new IllegalStateException("Unable to access the response Writer"); ise.initCause(e); throw ise; } }
public void requestFlowExecutionRedirect() throws IllegalStateException { assertResponseAllowed(); flowExecutionRedirectRequested = true; recordResponseComplete(); }
public void requestExternalRedirect(String location) throws IllegalStateException { assertResponseAllowed(); externalRedirectUrl = location; recordResponseComplete(); }
public void requestFlowDefinitionRedirect(String flowId, MutableAttributeMap<?> input) throws IllegalStateException { assertResponseAllowed(); flowDefinitionRedirectFlowId = flowId; flowDefinitionRedirectFlowInput = new LocalAttributeMap<>(); if (input != null) { flowDefinitionRedirectFlowInput.putAll(input); } recordResponseComplete(); }