@Singleton public class StaticResourceResolver extends java.lang.Object implements NoAuthResolver
Constructor and Description |
---|
StaticResourceResolver(ResponseFactory responseFactory) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Response> |
resolve(Request request)
Implement request resolution.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canAccess, requiresAuth
newResponseBuilder
@Inject public StaticResourceResolver(ResponseFactory responseFactory)
public java.util.Optional<Response> resolve(Request request)
NoAuthResolver
resolve
in interface NoAuthResolver
resolve
in interface Resolver
request
- HTTP request, contains all information necessary to resolve the request.for return value