Package net.officefloor.web.build
Interface HttpEscalationResponder<E extends Throwable>
- All Known Implementing Classes:
SpringHttpObjectResponderFactory
public interface HttpEscalationResponder<E extends Throwable>
Provides ability to send an
Escalation response.-
Method Summary
Modifier and TypeMethodDescriptionObtains theContent-Typeprovided by thisHttpEscalationResponder.voidsend(HttpEscalationResponderContext<E> context) Sends theEscalation.
-
Method Details
-
getContentType
String getContentType()Obtains theContent-Typeprovided by thisHttpEscalationResponder.- Returns:
Content-Typeprovided by thisHttpEscalationResponder.
-
send
Sends theEscalation.- Parameters:
context-HttpEscalationResponderContext.- Throws:
IOException- If fails to send the object.
-