All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.plugins.undertow.CorsHandlerDefault.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






CorsHandlerDefault (org.spincast:spincast-framework 1.0.0 API)












org.spincast.plugins.undertow

Class CorsHandlerDefault

  • All Implemented Interfaces:
    io.undertow.server.HttpHandler, CorsHandler


    public class CorsHandlerDefault
    extends Object
    implements CorsHandler
    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
    • Method Detail

      • getNextHandler

        protected io.undertow.server.HttpHandler getNextHandler()
      • getCorsFilter

        protected CorsFilter getCorsFilter()
      • handleRequest

        public void handleRequest(io.undertow.server.HttpServerExchange exchange)
                           throws Exception
        Specified by:
        handleRequest in interface io.undertow.server.HttpHandler
        Throws:
        Exception
      • createCorsFilterClient

        protected CorsFilterClient createCorsFilterClient(io.undertow.server.HttpServerExchange exchange,
                                                          StaticResourceCorsConfig corsConfig)
        Create the client for the cors filter.
      • getStaticResourceCorsAllowedMethods

        protected Set<HttpMethod> getStaticResourceCorsAllowedMethods()
        Those are the valid HTTP methods for requests to static resources served directly by the HTTP server.

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy