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 List<Processing>
getProcessings()
String
getServiceName()
URI
getUri()
default boolean
hasExpired()
Returns whether this request has timed outboolean
isProcessable()
void
processingDone(List<Processing> processing)
void
processingFailed(RequestContext.ErrorCode error, String msg)
void
processingFailed(Exception exception)
void
skip()
-
-
-
Method Detail
-
getProcessings
List<Processing> getProcessings()
-
getServiceName
String getServiceName()
-
getUri
URI getUri()
-
isProcessable
boolean isProcessable()
-
processingDone
void processingDone(List<Processing> processing)
-
processingFailed
void processingFailed(RequestContext.ErrorCode error, String msg)
-
processingFailed
void processingFailed(Exception exception)
-
hasExpired
default boolean hasExpired()
Returns whether this request has timed out
-
skip
void skip()
-
-