Java Code Examples for io.undertow.Handlers#handlerNotNull()

The following examples show how to use io.undertow.Handlers#handlerNotNull() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MetricsHandler.java    From light-4j with Apache License 2.0 5 votes vote down vote up
@Override
public MiddlewareHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;

}
 
Example 2
Source File: FileErrorPageHandler.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public FileErrorPageHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 3
Source File: DerefMiddlewareHandler.java    From light-4j with Apache License 2.0 4 votes vote down vote up
@Override
public MiddlewareHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 4
Source File: SwaggerHandler.java    From light-rest-4j with Apache License 2.0 4 votes vote down vote up
@Override
public MiddlewareHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 5
Source File: AttachmentHandler.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public void setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
}
 
Example 6
Source File: EncodingHandler.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public EncodingHandler setNoEncodingHandler(HttpHandler noEncodingHandler) {
    Handlers.handlerNotNull(noEncodingHandler);
    this.noEncodingHandler = noEncodingHandler;
    return this;
}
 
Example 7
Source File: LimitHandler.java    From light-4j with Apache License 2.0 4 votes vote down vote up
@Override
public MiddlewareHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 8
Source File: SimpleErrorPageHandler.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public SimpleErrorPageHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 9
Source File: BasicAuthHandler.java    From light-4j with Apache License 2.0 4 votes vote down vote up
@Override
public MiddlewareHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 10
Source File: SanitizerHandler.java    From light-4j with Apache License 2.0 4 votes vote down vote up
@Override
public MiddlewareHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 11
Source File: AuthenticationMechanismsHandler.java    From quarkus-http with Apache License 2.0 4 votes vote down vote up
public AuthenticationMechanismsHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 12
Source File: ResponseEncodeHandler.java    From light-4j with Apache License 2.0 4 votes vote down vote up
@Override
public MiddlewareHandler setNext(HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 13
Source File: OriginHandler.java    From quarkus-http with Apache License 2.0 4 votes vote down vote up
public OriginHandler setOriginFailedHandler(HttpHandler originFailedHandler) {
    Handlers.handlerNotNull(originFailedHandler);
    this.originFailedHandler = originFailedHandler;
    return this;
}
 
Example 14
Source File: OpenApiHandler.java    From light-rest-4j with Apache License 2.0 4 votes vote down vote up
@Override
public MiddlewareHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 15
Source File: OriginHandler.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public OriginHandler setOriginFailedHandler(HttpHandler originFailedHandler) {
    Handlers.handlerNotNull(originFailedHandler);
    this.originFailedHandler = originFailedHandler;
    return this;
}
 
Example 16
Source File: TraceabilityHandler.java    From light-4j with Apache License 2.0 4 votes vote down vote up
@Override
public MiddlewareHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 17
Source File: NameVirtualHostHandler.java    From quarkus-http with Apache License 2.0 4 votes vote down vote up
public NameVirtualHostHandler setDefaultHandler(final HttpHandler defaultHandler) {
    Handlers.handlerNotNull(defaultHandler);
    this.defaultHandler = defaultHandler;
    return this;
}
 
Example 18
Source File: EncodingHandler.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public EncodingHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 19
Source File: CanonicalPathHandler.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public CanonicalPathHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}
 
Example 20
Source File: SessionAttachmentHandler.java    From quarkus-http with Apache License 2.0 4 votes vote down vote up
public SessionAttachmentHandler setNext(final HttpHandler next) {
    Handlers.handlerNotNull(next);
    this.next = next;
    return this;
}