Package com.yahoo.docproc.jdisc
Interface RequestContext
-
- All Known Implementing Classes:
MbusRequestContext
public interface RequestContext
- Author:
- Einar M R Rosenvinge
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RequestContext.ErrorCode
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.List<Processing>
getProcessings()
java.lang.String
getServiceName()
java.net.URI
getUri()
default boolean
hasExpired()
Returns whether this request has timed outboolean
isProcessable()
void
processingDone(java.util.List<Processing> processing)
void
processingFailed(RequestContext.ErrorCode error, java.lang.String msg)
void
processingFailed(java.lang.Exception exception)
void
skip()
-
-
-
Method Detail
-
getProcessings
java.util.List<Processing> getProcessings()
-
getServiceName
java.lang.String getServiceName()
-
getUri
java.net.URI getUri()
-
isProcessable
boolean isProcessable()
-
processingDone
void processingDone(java.util.List<Processing> processing)
-
processingFailed
void processingFailed(RequestContext.ErrorCode error, java.lang.String msg)
-
processingFailed
void processingFailed(java.lang.Exception exception)
-
hasExpired
default boolean hasExpired()
Returns whether this request has timed out
-
skip
void skip()
-
-