sharaf
sharaf
API
ba.sake.sharaf
exceptions
ExceptionMapper
NotFoundException
ProblemDetails
ProblemDetails
ArgumentProblem
RequestHandlingException
SharafException
handlers
cors
CorsHandler
CorsHandler
CorsSettings
CorsSettings
ExceptionHandler
ExceptionHandler
RoutesHandler
RoutesHandler
SharafHandler
SharafHandler
htmx
RequestHeaders
ResponseHeaders
routing
DELETE
FromPathParam
FromPathParam
given_FromPathParam_Int
given_FromPathParam_Long
given_FromPathParam_UUID
GET
OPTIONS
PATCH
POST
PUT
Routes
Routes
param
utils
Path
Path
Request
Request
Response
Response
ResponseWritable
ResponseWritable
given_ResponseWritable_Frag
given_ResponseWritable_HtmlPage
given_ResponseWritable_String
sharaf
/
ba.sake.sharaf
/
ba.sake.sharaf.handlers
/
ba.sake.sharaf.handlers.cors
/
CorsSettings
CorsSettings
ba.sake.sharaf.handlers.cors.CorsSettings
See the
CorsSettings
companion object
final
class
CorsSettings
Attributes
Companion
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Members list
Clear all
Value members
Concrete methods
def
withAllowCredentials
(
allowCredentials
:
Boolean
):
CorsSettings
def
withAllowedHttpHeaders
(
allowedHttpHeaders
:
Set
[
HttpString
]):
CorsSettings
def
withAllowedHttpMethods
(
allowedHttpMethods
:
Set
[
HttpString
]):
CorsSettings
def
withAllowedOrigins
(
allowedOrigins
:
Set
[
String
]):
CorsSettings
def
withPathPrefixes
(
pathPrefixes
:
Set
[
String
]):
CorsSettings
def
withPreflightMaxAge
(
preflightMaxAge
:
Duration
):
CorsSettings
Concrete fields
val
allowCredentials
:
Boolean
val
allowedHttpHeaders
:
Set
[
HttpString
]
val
allowedHttpMethods
:
Set
[
HttpString
]
val
allowedOrigins
:
Set
[
String
]
val
pathPrefixes
:
Set
[
String
]
val
preflightMaxAge
:
Duration
In this article
Attributes
Members list
Value members
Concrete methods
Concrete fields