Skip navigation links
A B C D E F G H I K M N O P Q R S T U V W X _ 

A

accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.AndExpressionContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.ArglistContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.FunctionContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.NotExpressionContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.OrExpressionContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.StringCompareExpressionContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.StringContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.StringEqualsStringContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.StringExpressionContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.StringIsPresentContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.StringMatchesRegexpContext
 
accept(ParseTreeVisitor<? extends T>) - Method in class com.hotels.styx.server.routing.ConditionParser.SubExpressionContext
 
add(String, WebServiceHandler) - Method in class com.hotels.styx.server.StandardHttpRouter
 
AND - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
AND - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
AND() - Method in class com.hotels.styx.server.routing.ConditionParser.AndExpressionContext
 
AndExpressionContext(ConditionParser.ExpressionContext) - Constructor for class com.hotels.styx.server.routing.ConditionParser.AndExpressionContext
 
AntlrConditionParser - Class in com.hotels.styx.server.routing.antlr
A Condition parser based on ANLR.
AntlrConditionParser(AntlrConditionParser.Builder) - Constructor for class com.hotels.styx.server.routing.antlr.AntlrConditionParser
 
AntlrConditionParser.Builder - Class in com.hotels.styx.server.routing.antlr
AntlrMatcher - Class in com.hotels.styx.server.routing
A Route matcher based on ANTLR condition parser.
antlrMatcher(String) - Static method in class com.hotels.styx.server.routing.AntlrMatcher
 
apply(LiveHttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.server.routing.AntlrMatcher
 
apply(LiveHttpRequest, HttpInterceptor.Context) - Method in interface com.hotels.styx.server.routing.Matcher
 
arglist() - Method in class com.hotels.styx.server.routing.ConditionParser
 
arglist() - Method in class com.hotels.styx.server.routing.ConditionParser.FunctionContext
 
ArglistContext(ParserRuleContext, int) - Constructor for class com.hotels.styx.server.routing.ConditionParser.ArglistContext
 

B

BadRequestException - Exception in com.hotels.styx.server
Exception to be thrown when Styx cannot handle a request because it is syntactically invalid.
BadRequestException(String) - Constructor for exception com.hotels.styx.server.BadRequestException
 
BadRequestException(String, Throwable) - Constructor for exception com.hotels.styx.server.BadRequestException
 
bossExecutor(NettyExecutor) - Method in class com.hotels.styx.server.netty.NettyServerBuilder
 
bossThreadsCount() - Method in class com.hotels.styx.server.netty.NettyServerConfig
Number of threads for establishing new channels.
bossThreadsCount - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
build() - Method in class com.hotels.styx.server.HttpsConnectorConfig.Builder
 
build() - Method in class com.hotels.styx.server.netty.codec.NettyToStyxRequestDecoder.Builder
 
build() - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler.Builder
Builds a new instance based on the configured properties.
build() - Method in class com.hotels.styx.server.netty.NettyServerBuilder
 
build() - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
build() - Method in class com.hotels.styx.server.routing.antlr.AntlrConditionParser.Builder
 
Builder() - Constructor for class com.hotels.styx.server.HttpsConnectorConfig.Builder
 
Builder() - Constructor for class com.hotels.styx.server.netty.codec.NettyToStyxRequestDecoder.Builder
 
Builder(HttpHandler) - Constructor for class com.hotels.styx.server.netty.connectors.HttpPipelineHandler.Builder
Constructs a new builder.
Builder() - Constructor for class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
Builder() - Constructor for class com.hotels.styx.server.routing.antlr.AntlrConditionParser.Builder
 

C

call(LiveHttpRequest, HttpInterceptor.Context) - Method in interface com.hotels.styx.server.routing.antlr.Function0
 
call(LiveHttpRequest, HttpInterceptor.Context, String) - Method in interface com.hotels.styx.server.routing.antlr.Function1
 
certificateFile(String) - Method in class com.hotels.styx.server.HttpsConnectorConfig.Builder
 
certificateFile() - Method in class com.hotels.styx.server.HttpsConnectorConfig
 
certificateKeyFile(String) - Method in class com.hotels.styx.server.HttpsConnectorConfig.Builder
 
certificateKeyFile() - Method in class com.hotels.styx.server.HttpsConnectorConfig
 
channelActive(ChannelHandlerContext) - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler
 
channelActive(ChannelHandlerContext) - Method in class com.hotels.styx.server.netty.handlers.ChannelActivityEventConstrainer
 
channelActive(ChannelHandlerContext) - Method in class com.hotels.styx.server.netty.handlers.ChannelStatisticsHandler
 
ChannelActivityEventConstrainer - Class in com.hotels.styx.server.netty.handlers
Stops channelInactive events from propagating if the channel never became active to begin with.
ChannelActivityEventConstrainer() - Constructor for class com.hotels.styx.server.netty.handlers.ChannelActivityEventConstrainer
 
channelInactive(ChannelHandlerContext) - Method in class com.hotels.styx.server.netty.codec.NettyToStyxRequestDecoder
 
channelInactive(ChannelHandlerContext) - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler
 
channelInactive(ChannelHandlerContext) - Method in class com.hotels.styx.server.netty.handlers.ChannelActivityEventConstrainer
 
channelInactive(ChannelHandlerContext) - Method in class com.hotels.styx.server.netty.handlers.ChannelStatisticsHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class com.hotels.styx.server.netty.handlers.ChannelStatisticsHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class com.hotels.styx.server.netty.handlers.RequestTimeoutHandler
 
channelRead0(ChannelHandlerContext, LiveHttpRequest) - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler
 
channelRegistered(ChannelHandlerContext) - Method in class com.hotels.styx.server.netty.handlers.ChannelStatisticsHandler
 
channelRegistered(ChannelHandlerContext) - Method in class com.hotels.styx.server.netty.handlers.ExcessConnectionRejector
 
ChannelStatisticsHandler - Class in com.hotels.styx.server.netty.handlers
Collects statistics about channels.
ChannelStatisticsHandler(MetricRegistry) - Constructor for class com.hotels.styx.server.netty.handlers.ChannelStatisticsHandler
 
channelUnregistered(ChannelHandlerContext) - Method in class com.hotels.styx.server.netty.handlers.ChannelStatisticsHandler
 
ciphers() - Method in class com.hotels.styx.server.HttpsConnectorConfig
The cipher suites to enable, in the order of preference.
cipherSuites(List<String>) - Method in class com.hotels.styx.server.HttpsConnectorConfig.Builder
 
ClassPathResourceHandler - Class in com.hotels.styx.server.handlers
Handler for class path resources.
ClassPathResourceHandler(String) - Constructor for class com.hotels.styx.server.handlers.ClassPathResourceHandler
 
ClassPathResourceHandler(String, String) - Constructor for class com.hotels.styx.server.handlers.ClassPathResourceHandler
 
com.hotels.styx - package com.hotels.styx
 
com.hotels.styx.server - package com.hotels.styx.server
 
com.hotels.styx.server.handlers - package com.hotels.styx.server.handlers
 
com.hotels.styx.server.netty - package com.hotels.styx.server.netty
 
com.hotels.styx.server.netty.codec - package com.hotels.styx.server.netty.codec
 
com.hotels.styx.server.netty.connectors - package com.hotels.styx.server.netty.connectors
 
com.hotels.styx.server.netty.handlers - package com.hotels.styx.server.netty.handlers
 
com.hotels.styx.server.routing - package com.hotels.styx.server.routing
 
com.hotels.styx.server.routing.antlr - package com.hotels.styx.server.routing.antlr
 
com.hotels.styx.server.track - package com.hotels.styx.server.track
 
compose(HttpErrorStatusListener...) - Static method in interface com.hotels.styx.server.HttpErrorStatusListener
 
compressResponses - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
compressResponses() - Method in class com.hotels.styx.server.netty.NettyServerConfig
Whether responses should be compressed.
Condition - Interface in com.hotels.styx.server.routing
Base interface for routing rules.
Condition.Parser - Interface in com.hotels.styx.server.routing
Parser for a condition.
ConditionBaseListener - Class in com.hotels.styx.server.routing
This class provides an empty implementation of ConditionListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
ConditionBaseListener() - Constructor for class com.hotels.styx.server.routing.ConditionBaseListener
 
ConditionBaseVisitor<T> - Class in com.hotels.styx.server.routing
This class provides an empty implementation of ConditionVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
ConditionBaseVisitor() - Constructor for class com.hotels.styx.server.routing.ConditionBaseVisitor
 
ConditionLexer - Class in com.hotels.styx.server.routing
 
ConditionLexer(CharStream) - Constructor for class com.hotels.styx.server.routing.ConditionLexer
 
ConditionListener - Interface in com.hotels.styx.server.routing
This interface defines a complete listener for a parse tree produced by ConditionParser.
ConditionParser - Class in com.hotels.styx.server.routing
 
ConditionParser(TokenStream) - Constructor for class com.hotels.styx.server.routing.ConditionParser
 
ConditionParser.AndExpressionContext - Class in com.hotels.styx.server.routing
 
ConditionParser.ArglistContext - Class in com.hotels.styx.server.routing
 
ConditionParser.ExpressionContext - Class in com.hotels.styx.server.routing
 
ConditionParser.FunctionContext - Class in com.hotels.styx.server.routing
 
ConditionParser.NotExpressionContext - Class in com.hotels.styx.server.routing
 
ConditionParser.OrExpressionContext - Class in com.hotels.styx.server.routing
 
ConditionParser.StringCompareExpressionContext - Class in com.hotels.styx.server.routing
 
ConditionParser.StringComparisonContext - Class in com.hotels.styx.server.routing
 
ConditionParser.StringContext - Class in com.hotels.styx.server.routing
 
ConditionParser.StringEqualsStringContext - Class in com.hotels.styx.server.routing
 
ConditionParser.StringExpressionContext - Class in com.hotels.styx.server.routing
 
ConditionParser.StringIsPresentContext - Class in com.hotels.styx.server.routing
 
ConditionParser.StringMatchesRegexpContext - Class in com.hotels.styx.server.routing
 
ConditionParser.SubExpressionContext - Class in com.hotels.styx.server.routing
 
ConditionVisitor<T> - Interface in com.hotels.styx.server.routing
This interface defines a complete generic visitor for a parse tree produced by ConditionParser.
configure(Channel, HttpHandler) - Method in interface com.hotels.styx.server.netty.ServerConnector
 
ConnectorConfig - Interface in com.hotels.styx.server
Configuration for an endpoint connector.
connectors() - Method in class com.hotels.styx.server.netty.NettyServerConfig
 
Connectors(HttpConnectorConfig, HttpsConnectorConfig) - Constructor for class com.hotels.styx.server.netty.NettyServerConfig.Connectors
 
copyFrom(ConditionParser.ExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionParser.ExpressionContext
 
copyFrom(ConditionParser.StringComparisonContext) - Method in class com.hotels.styx.server.routing.ConditionParser.StringComparisonContext
 
create(ConnectorConfig) - Method in interface com.hotels.styx.server.netty.ServerConnectorFactory
Create an HTTP server connector.
create(ConnectorConfig) - Method in class com.hotels.styx.server.netty.WebServerConnectorFactory
 
createHttpServer(int, HttpHandler) - Static method in class com.hotels.styx.server.HttpServers
Returns a new HttpServer object, which runs on the provided port.
createHttpServer(String, HttpConnectorConfig, HttpHandler) - Static method in class com.hotels.styx.server.HttpServers
Returns a new HttpServer object, which runs on the provided port.
createHttpsServer(String, HttpsConnectorConfig, HttpHandler) - Static method in class com.hotels.styx.server.HttpServers
Returns a new HttpServer object, using secure HTTPS protocol.
CurrentRequest - Class in com.hotels.styx.server.track
Bean that represent the current request.
currentRequests() - Method in class com.hotels.styx.server.track.CurrentRequestTracker
 
CurrentRequestTracker - Class in com.hotels.styx.server.track
Manger class to manage the current requests.
CurrentRequestTracker() - Constructor for class com.hotels.styx.server.track.CurrentRequestTracker
 
currentThread() - Method in class com.hotels.styx.server.track.CurrentRequest
 

D

decode(ChannelHandlerContext, HttpObject, List<Object>) - Method in class com.hotels.styx.server.netty.codec.NettyToStyxRequestDecoder
 
DO_NOT_MODIFY_RESPONSE - Static variable in interface com.hotels.styx.server.netty.connectors.ResponseEnhancer
 
doHandle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.server.handlers.ClassPathResourceHandler
 
DQUOTE - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
DQUOTE - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
DQUOTED_STRING - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
DQUOTED_STRING - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
DQUOTED_STRING() - Method in class com.hotels.styx.server.routing.ConditionParser.StringContext
 
DslFunctionResolutionError - Exception in com.hotels.styx.server.routing.antlr
RuntimeException indicating an error in Dsl Function Resolution.
DslFunctionResolutionError(String) - Constructor for exception com.hotels.styx.server.routing.antlr.DslFunctionResolutionError
 
DslSyntaxError - Exception in com.hotels.styx.server.routing.antlr
Syntax error when parsing condition using ANTLR.
DslSyntaxError(int, int, String, RecognitionException) - Constructor for exception com.hotels.styx.server.routing.antlr.DslSyntaxError
 
DuplicatePathException - Exception in com.hotels.styx.server
Exception thrown when attempting to add a path that already exists to a PathTrie.
DuplicatePathException(String) - Constructor for exception com.hotels.styx.server.DuplicatePathException
 

E

encode(String) - Method in interface com.hotels.styx.server.netty.codec.UnwiseCharsEncoder
Encodes the unwise chars.
endTrack(LiveHttpRequest) - Method in class com.hotels.styx.server.track.CurrentRequestTracker
 
endTrack(LiveHttpRequest) - Method in interface com.hotels.styx.server.track.RequestTracker
 
enhance(LiveHttpResponse.Transformer, LiveHttpRequest) - Method in interface com.hotels.styx.server.netty.connectors.ResponseEnhancer
Enhance response while it is being built.
enhance(LiveHttpResponse, LiveHttpRequest) - Method in interface com.hotels.styx.server.netty.connectors.ResponseEnhancer
Create a new enhanced response, based on an existing one.
enterAndExpression(ConditionParser.AndExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by the AndExpression labeled alternative in ConditionParser.expression().
enterAndExpression(ConditionParser.AndExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by the AndExpression labeled alternative in ConditionParser.expression().
enterArglist(ConditionParser.ArglistContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by ConditionParser.arglist().
enterArglist(ConditionParser.ArglistContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by ConditionParser.arglist().
enterEveryRule(ParserRuleContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
enterFunction(ConditionParser.FunctionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by ConditionParser.function().
enterFunction(ConditionParser.FunctionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by ConditionParser.function().
enterNotExpression(ConditionParser.NotExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by the NotExpression labeled alternative in ConditionParser.expression().
enterNotExpression(ConditionParser.NotExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by the NotExpression labeled alternative in ConditionParser.expression().
enterOrExpression(ConditionParser.OrExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by the OrExpression labeled alternative in ConditionParser.expression().
enterOrExpression(ConditionParser.OrExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by the OrExpression labeled alternative in ConditionParser.expression().
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.AndExpressionContext
 
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.ArglistContext
 
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.FunctionContext
 
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.NotExpressionContext
 
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.OrExpressionContext
 
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringCompareExpressionContext
 
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringContext
 
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringEqualsStringContext
 
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringExpressionContext
 
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringIsPresentContext
 
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringMatchesRegexpContext
 
enterRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.SubExpressionContext
 
enterString(ConditionParser.StringContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by ConditionParser.string().
enterString(ConditionParser.StringContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by ConditionParser.string().
enterStringCompareExpression(ConditionParser.StringCompareExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by the StringCompareExpression labeled alternative in ConditionParser.expression().
enterStringCompareExpression(ConditionParser.StringCompareExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by the StringCompareExpression labeled alternative in ConditionParser.expression().
enterStringEqualsString(ConditionParser.StringEqualsStringContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by the StringEqualsString labeled alternative in ConditionParser.stringComparison().
enterStringEqualsString(ConditionParser.StringEqualsStringContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by the StringEqualsString labeled alternative in ConditionParser.stringComparison().
enterStringExpression(ConditionParser.StringExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by ConditionParser.stringExpression().
enterStringExpression(ConditionParser.StringExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by ConditionParser.stringExpression().
enterStringIsPresent(ConditionParser.StringIsPresentContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by the StringIsPresent labeled alternative in ConditionParser.stringComparison().
enterStringIsPresent(ConditionParser.StringIsPresentContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by the StringIsPresent labeled alternative in ConditionParser.stringComparison().
enterStringMatchesRegexp(ConditionParser.StringMatchesRegexpContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by the StringMatchesRegexp labeled alternative in ConditionParser.stringComparison().
enterStringMatchesRegexp(ConditionParser.StringMatchesRegexpContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by the StringMatchesRegexp labeled alternative in ConditionParser.stringComparison().
enterSubExpression(ConditionParser.SubExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Enter a parse tree produced by the SubExpression labeled alternative in ConditionParser.expression().
enterSubExpression(ConditionParser.SubExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Enter a parse tree produced by the SubExpression labeled alternative in ConditionParser.expression().
equals(Object) - Method in class com.hotels.styx.server.HttpConnectorConfig
 
equals(Object) - Method in class com.hotels.styx.server.HttpsConnectorConfig
 
errorStatusListener(HttpErrorStatusListener) - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler.Builder
Sets the HTTP error status listener.
evaluate(LiveHttpRequest, HttpInterceptor.Context) - Method in interface com.hotels.styx.server.routing.Condition
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class com.hotels.styx.server.netty.codec.NettyToStyxRequestDecoder
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler
 
ExcessConnectionRejector - Class in com.hotels.styx.server.netty.handlers
Rejects connections once the number reaches the maximum.
ExcessConnectionRejector(ChannelGroup, int) - Constructor for class com.hotels.styx.server.netty.handlers.ExcessConnectionRejector
 
exitAndExpression(ConditionParser.AndExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by the AndExpression labeled alternative in ConditionParser.expression().
exitAndExpression(ConditionParser.AndExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by the AndExpression labeled alternative in ConditionParser.expression().
exitArglist(ConditionParser.ArglistContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by ConditionParser.arglist().
exitArglist(ConditionParser.ArglistContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by ConditionParser.arglist().
exitEveryRule(ParserRuleContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
exitFunction(ConditionParser.FunctionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by ConditionParser.function().
exitFunction(ConditionParser.FunctionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by ConditionParser.function().
exitNotExpression(ConditionParser.NotExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by the NotExpression labeled alternative in ConditionParser.expression().
exitNotExpression(ConditionParser.NotExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by the NotExpression labeled alternative in ConditionParser.expression().
exitOrExpression(ConditionParser.OrExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by the OrExpression labeled alternative in ConditionParser.expression().
exitOrExpression(ConditionParser.OrExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by the OrExpression labeled alternative in ConditionParser.expression().
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.AndExpressionContext
 
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.ArglistContext
 
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.FunctionContext
 
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.NotExpressionContext
 
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.OrExpressionContext
 
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringCompareExpressionContext
 
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringContext
 
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringEqualsStringContext
 
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringExpressionContext
 
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringIsPresentContext
 
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.StringMatchesRegexpContext
 
exitRule(ParseTreeListener) - Method in class com.hotels.styx.server.routing.ConditionParser.SubExpressionContext
 
exitString(ConditionParser.StringContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by ConditionParser.string().
exitString(ConditionParser.StringContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by ConditionParser.string().
exitStringCompareExpression(ConditionParser.StringCompareExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by the StringCompareExpression labeled alternative in ConditionParser.expression().
exitStringCompareExpression(ConditionParser.StringCompareExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by the StringCompareExpression labeled alternative in ConditionParser.expression().
exitStringEqualsString(ConditionParser.StringEqualsStringContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by the StringEqualsString labeled alternative in ConditionParser.stringComparison().
exitStringEqualsString(ConditionParser.StringEqualsStringContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by the StringEqualsString labeled alternative in ConditionParser.stringComparison().
exitStringExpression(ConditionParser.StringExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by ConditionParser.stringExpression().
exitStringExpression(ConditionParser.StringExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by ConditionParser.stringExpression().
exitStringIsPresent(ConditionParser.StringIsPresentContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by the StringIsPresent labeled alternative in ConditionParser.stringComparison().
exitStringIsPresent(ConditionParser.StringIsPresentContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by the StringIsPresent labeled alternative in ConditionParser.stringComparison().
exitStringMatchesRegexp(ConditionParser.StringMatchesRegexpContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by the StringMatchesRegexp labeled alternative in ConditionParser.stringComparison().
exitStringMatchesRegexp(ConditionParser.StringMatchesRegexpContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by the StringMatchesRegexp labeled alternative in ConditionParser.stringComparison().
exitSubExpression(ConditionParser.SubExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
Exit a parse tree produced by the SubExpression labeled alternative in ConditionParser.expression().
exitSubExpression(ConditionParser.SubExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionListener
Exit a parse tree produced by the SubExpression labeled alternative in ConditionParser.expression().
expression() - Method in class com.hotels.styx.server.routing.ConditionParser.AndExpressionContext
 
expression(int) - Method in class com.hotels.styx.server.routing.ConditionParser.AndExpressionContext
 
expression() - Method in class com.hotels.styx.server.routing.ConditionParser
 
expression() - Method in class com.hotels.styx.server.routing.ConditionParser.NotExpressionContext
 
expression() - Method in class com.hotels.styx.server.routing.ConditionParser.OrExpressionContext
 
expression(int) - Method in class com.hotels.styx.server.routing.ConditionParser.OrExpressionContext
 
expression() - Method in class com.hotels.styx.server.routing.ConditionParser.SubExpressionContext
 
ExpressionContext(ParserRuleContext, int) - Constructor for class com.hotels.styx.server.routing.ConditionParser.ExpressionContext
 
ExpressionContext() - Constructor for class com.hotels.styx.server.routing.ConditionParser.ExpressionContext
 

F

fixedUniqueIdSupplier(String) - Static method in class com.hotels.styx.server.UniqueIdSuppliers
Returns a supplier whose get() method returns the uniqueId passed in.
function() - Method in class com.hotels.styx.server.routing.ConditionParser
 
function() - Method in class com.hotels.styx.server.routing.ConditionParser.StringExpressionContext
 
Function0 - Interface in com.hotels.styx.server.routing.antlr
A Zero argument function.
Function1 - Interface in com.hotels.styx.server.routing.antlr
A One argument function.
FunctionContext(ParserRuleContext, int) - Constructor for class com.hotels.styx.server.routing.ConditionParser.FunctionContext
 

G

get(String) - Method in class com.hotels.styx.server.PathTrie
ID value associated with path.
getATN() - Method in class com.hotels.styx.server.routing.ConditionLexer
 
getATN() - Method in class com.hotels.styx.server.routing.ConditionParser
 
getGrammarFileName() - Method in class com.hotels.styx.server.routing.ConditionLexer
 
getGrammarFileName() - Method in class com.hotels.styx.server.routing.ConditionParser
 
getModeNames() - Method in class com.hotels.styx.server.routing.ConditionLexer
 
getRuleIndex() - Method in class com.hotels.styx.server.routing.ConditionParser.ArglistContext
 
getRuleIndex() - Method in class com.hotels.styx.server.routing.ConditionParser.ExpressionContext
 
getRuleIndex() - Method in class com.hotels.styx.server.routing.ConditionParser.FunctionContext
 
getRuleIndex() - Method in class com.hotels.styx.server.routing.ConditionParser.StringComparisonContext
 
getRuleIndex() - Method in class com.hotels.styx.server.routing.ConditionParser.StringContext
 
getRuleIndex() - Method in class com.hotels.styx.server.routing.ConditionParser.StringExpressionContext
 
getRuleNames() - Method in class com.hotels.styx.server.routing.ConditionLexer
 
getRuleNames() - Method in class com.hotels.styx.server.routing.ConditionParser
 
getSerializedATN() - Method in class com.hotels.styx.server.routing.ConditionLexer
 
getSerializedATN() - Method in class com.hotels.styx.server.routing.ConditionParser
 
getTokenNames() - Method in class com.hotels.styx.server.routing.ConditionLexer
Deprecated.
getTokenNames() - Method in class com.hotels.styx.server.routing.ConditionParser
Deprecated.
getVocabulary() - Method in class com.hotels.styx.server.routing.ConditionLexer
 
getVocabulary() - Method in class com.hotels.styx.server.routing.ConditionParser
 

H

HALF_OF_AVAILABLE_PROCESSORS - Static variable in class com.hotels.styx.server.netty.NettyServerConfig
 
handle(LiveHttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.server.handlers.StaticFileHandler
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.server.StandardHttpRouter
 
handler(HttpHandler) - Method in class com.hotels.styx.server.netty.NettyServerBuilder
 
hashCode() - Method in class com.hotels.styx.server.HttpConnectorConfig
 
hashCode() - Method in class com.hotels.styx.server.HttpsConnectorConfig
 
host(String) - Method in class com.hotels.styx.server.netty.NettyServerBuilder
 
HttpConnectorConfig - Class in com.hotels.styx.server
Http Connector config.
HttpConnectorConfig(Integer) - Constructor for class com.hotels.styx.server.HttpConnectorConfig
 
httpConnectorConfig - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
httpConnectorConfig() - Method in class com.hotels.styx.server.netty.NettyServerConfig
 
HttpErrorStatusListener - Interface in com.hotels.styx.server
Listens to errors during requests that result in a 4xx or 5xx status code, so that metrics can be recorded.
httpMessageFormatter(HttpMessageFormatter) - Method in class com.hotels.styx.server.netty.codec.NettyToStyxRequestDecoder.Builder
 
HttpPipelineHandler - Class in com.hotels.styx.server.netty.connectors
Passes request to HTTP Pipeline.
HttpPipelineHandler.Builder - Class in com.hotels.styx.server.netty.connectors
Builds instances of HttpPipelineHandler.
httpPort(int) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
HttpRouter - Interface in com.hotels.styx.server
Http Router.
HttpsConnectorConfig - Class in com.hotels.styx.server
Https Connector configuration.
httpsConnectorConfig - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
httpsConnectorConfig() - Method in class com.hotels.styx.server.netty.NettyServerConfig
 
HttpsConnectorConfig.Builder - Class in com.hotels.styx.server
HttpServer - Interface in com.hotels.styx.server
HttpServer.
HttpServers - Class in com.hotels.styx.server
Static utility methods for creating HttpServer instances.
HttpServers() - Constructor for class com.hotels.styx.server.HttpServers
 

I

ID - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
ID() - Method in class com.hotels.styx.server.routing.ConditionParser.FunctionContext
 
ID - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
IGNORE - Static variable in interface com.hotels.styx.server.netty.codec.UnwiseCharsEncoder
 
IGNORE_ERROR_STATUS - Static variable in interface com.hotels.styx.server.HttpErrorStatusListener
 
IGNORE_REQUEST_PROGRESS - Static variable in interface com.hotels.styx.server.RequestProgressListener
 
inactivityTimeoutMs(long) - Method in class com.hotels.styx.server.netty.codec.NettyToStyxRequestDecoder.Builder
 
inetAddress() - Method in interface com.hotels.styx.InetServer
Return an associated server address.
inetAddress() - Method in interface com.hotels.styx.server.HttpServer
Return http endpoint.
InetServer - Interface in com.hotels.styx
A Styx Server is a StyxService with a server socket.
INSTANCE - Static variable in class com.hotels.styx.server.track.CurrentRequestTracker
 
isConfigured() - Method in class com.hotels.styx.server.HttpsConnectorConfig
 
isRequestSent() - Method in class com.hotels.styx.server.track.CurrentRequest
 

K

keepAliveTimeoutMillis - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
keepAliveTimeoutMillis() - Method in class com.hotels.styx.server.netty.NettyServerConfig
A timeout for idle persistent connections, in milliseconds.

M

MalformedCookieHeaderException - Exception in com.hotels.styx.server.netty.codec
An exception to be thrown when a cookie header is malformed.
MalformedCookieHeaderException(String, Throwable) - Constructor for exception com.hotels.styx.server.netty.codec.MalformedCookieHeaderException
Constructor.
markRequestAsSent(LiveHttpRequest) - Method in class com.hotels.styx.server.track.CurrentRequestTracker
 
markRequestAsSent(LiveHttpRequest) - Method in interface com.hotels.styx.server.track.RequestTracker
 
Matcher - Interface in com.hotels.styx.server.routing
A matcher condition to match against HTTP requests.
maxChunkSize - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
maxChunkSize() - Method in class com.hotels.styx.server.netty.NettyServerConfig
The maximum size of an HTTP chunk in bytes.
maxConnectionsCount - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
maxConnectionsCount() - Method in class com.hotels.styx.server.netty.NettyServerConfig
Max connections to server before we start rejecting them.
maxHeaderSize - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
maxHeaderSize() - Method in class com.hotels.styx.server.netty.NettyServerConfig
The maximum combined size of the HTTP headers in bytes.
maxInitialLength - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
maxInitialLength() - Method in class com.hotels.styx.server.netty.NettyServerConfig
The maximum length in bytes of the initial line of an HTTP message, e.g.
metricRegistry(MetricRegistry) - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler.Builder
Sets the metric registry.
metricRegistry() - Method in class com.hotels.styx.server.ServerEnvironment
 
modeNames - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 

N

NettyServerBuilder - Class in com.hotels.styx.server.netty
A builder of NettyServer instances.
NettyServerBuilder() - Constructor for class com.hotels.styx.server.netty.NettyServerBuilder
 
NettyServerConfig - Class in com.hotels.styx.server.netty
Configuration values for the netty based web server.
NettyServerConfig() - Constructor for class com.hotels.styx.server.netty.NettyServerConfig
 
NettyServerConfig(NettyServerConfig.Builder<?>) - Constructor for class com.hotels.styx.server.netty.NettyServerConfig
 
NettyServerConfig.Builder<T extends NettyServerConfig.Builder<T>> - Class in com.hotels.styx.server.netty
Builder.
NettyServerConfig.Connectors - Class in com.hotels.styx.server.netty
Connectors.
NettyToStyxRequestDecoder - Class in com.hotels.styx.server.netty.codec
This MessageToMessageDecoder is responsible for decode HttpRequest to LiveHttpRequest's.
NettyToStyxRequestDecoder.Builder - Class in com.hotels.styx.server.netty.codec
Builder.
newBuilder() - Static method in class com.hotels.styx.server.netty.NettyServerBuilder
 
newSSLContext(HttpsConnectorConfig) - Static method in class com.hotels.styx.server.netty.SslContexts
Produce an SslContext based on the provided configuration.
newSSLContext(HttpsConnectorConfig, MetricRegistry) - Static method in class com.hotels.styx.server.netty.SslContexts
Produce an SslContext that will record metrics, based on the provided configuration.
nioAcceptorBacklog - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
nioAcceptorBacklog() - Method in class com.hotels.styx.server.netty.NettyServerConfig
 
NO_OP - Static variable in interface com.hotels.styx.server.track.RequestTracker
 
NoServiceConfiguredException - Exception in com.hotels.styx.server
An exception thrown when there are no backend services configured for a particular path.
NoServiceConfiguredException(String) - Constructor for exception com.hotels.styx.server.NoServiceConfiguredException
 
NOT - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
NOT - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
NOT() - Method in class com.hotels.styx.server.routing.ConditionParser.NotExpressionContext
 
NotExpressionContext(ConditionParser.ExpressionContext) - Constructor for class com.hotels.styx.server.routing.ConditionParser.NotExpressionContext
 

O

onComplete(Object, int) - Method in interface com.hotels.styx.server.RequestProgressListener
To be called when a request completes successfully.
onComplete(Object, int) - Method in class com.hotels.styx.server.RequestStatsCollector
 
onRequest(Object) - Method in interface com.hotels.styx.server.RequestProgressListener
To be called when a request begins.
onRequest(Object) - Method in class com.hotels.styx.server.RequestStatsCollector
 
onTerminate(Object) - Method in interface com.hotels.styx.server.RequestProgressListener
To be called when a request is terminated after being unable to complete successfully.
onTerminate(Object) - Method in class com.hotels.styx.server.RequestStatsCollector
 
OR - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
OR - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
OR() - Method in class com.hotels.styx.server.routing.ConditionParser.OrExpressionContext
 
OrExpressionContext(ConditionParser.ExpressionContext) - Constructor for class com.hotels.styx.server.routing.ConditionParser.OrExpressionContext
 

P

parse(String) - Method in class com.hotels.styx.server.routing.antlr.AntlrConditionParser
 
parse(String) - Method in interface com.hotels.styx.server.routing.Condition.Parser
 
PathTrie<T> - Class in com.hotels.styx.server
Stores URL path string and ID mappings for a longest match retrieval.
PathTrie() - Constructor for class com.hotels.styx.server.PathTrie
Construct a new matcher.
port() - Method in interface com.hotels.styx.server.ConnectorConfig
 
port(int) - Method in class com.hotels.styx.server.HttpConnectorConfig
 
port() - Method in class com.hotels.styx.server.HttpConnectorConfig
 
port(int) - Method in class com.hotels.styx.server.HttpsConnectorConfig.Builder
 
port() - Method in interface com.hotels.styx.server.netty.ServerConnector
 
printContent() - Method in class com.hotels.styx.server.PathTrie
 
progressListener(RequestProgressListener) - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler.Builder
Sets the progress listener.
protocols(String...) - Method in class com.hotels.styx.server.HttpsConnectorConfig.Builder
 
protocols() - Method in class com.hotels.styx.server.HttpsConnectorConfig
The TLS protocol versions to enable.
proxyErrorOccurred(Throwable) - Method in interface com.hotels.styx.server.HttpErrorStatusListener
To be called when an exception was thrown in styx while proxying.
proxyErrorOccurred(HttpResponseStatus, Throwable) - Method in interface com.hotels.styx.server.HttpErrorStatusListener
To be called when an exception was thrown in styx while proxying.
proxyErrorOccurred(LiveHttpRequest, InetSocketAddress, HttpResponseStatus, Throwable) - Method in interface com.hotels.styx.server.HttpErrorStatusListener
To be called when an exception was thrown in styx while proxying.
proxyingFailure(LiveHttpRequest, LiveHttpResponse, Throwable) - Method in interface com.hotels.styx.server.HttpErrorStatusListener
To be called when an exception was thrown in styx while proxying.
proxyWriteFailure(LiveHttpRequest, LiveHttpResponse, Throwable) - Method in interface com.hotels.styx.server.HttpErrorStatusListener
To be called when an exception was thrown in styx while writing response.
put(String, T) - Method in class com.hotels.styx.server.PathTrie
Add a new entry.

Q

QUOTED_STRING - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
QUOTED_STRING - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
QUOTED_STRING() - Method in class com.hotels.styx.server.routing.ConditionParser.StringContext
 

R

registerFunction(String, Function0) - Method in class com.hotels.styx.server.routing.antlr.AntlrConditionParser.Builder
 
registerFunction(String, Function1) - Method in class com.hotels.styx.server.routing.antlr.AntlrConditionParser.Builder
 
remove(String) - Method in class com.hotels.styx.server.PathTrie
 
request() - Method in class com.hotels.styx.server.track.CurrentRequest
 
RequestProgressListener - Interface in com.hotels.styx.server
A listener interface for progression of HTTP requests.
RequestStatsCollector - Class in com.hotels.styx.server
An implementation of request event sink that maintains Styx request statistics.
RequestStatsCollector(MetricRegistry) - Constructor for class com.hotels.styx.server.RequestStatsCollector
Constructs a collector with a MetricRegistry to report stastistics to.
RequestTimeoutException - Exception in com.hotels.styx.server
Exception thrown when requests time out.
RequestTimeoutException(String) - Constructor for exception com.hotels.styx.server.RequestTimeoutException
 
RequestTimeoutException(String, Throwable) - Constructor for exception com.hotels.styx.server.RequestTimeoutException
 
RequestTimeoutException(Throwable) - Constructor for exception com.hotels.styx.server.RequestTimeoutException
 
RequestTimeoutHandler - Class in com.hotels.styx.server.netty.handlers
Sends a 408 Request Timeout response if a request times out.
RequestTimeoutHandler() - Constructor for class com.hotels.styx.server.netty.handlers.RequestTimeoutHandler
 
requestTimeoutMillis() - Method in class com.hotels.styx.server.netty.NettyServerConfig
This parameter controls the amount of tolerated inactivity while the request is being received.
requestTimeoutMs - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
requestTracker(RequestTracker) - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler.Builder
 
RequestTracker - Interface in com.hotels.styx.server.track
An interface for tracking requests as they pass through Styx.
responseEnhancer(ResponseEnhancer) - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler.Builder
Sets the response enhancer.
ResponseEnhancer - Interface in com.hotels.styx.server.netty.connectors
Enhances responses.
ResponseTranslator - Interface in com.hotels.styx.server.netty.connectors
Converts object of a type LiveHttpResponse to HttpResponse.
route(LiveHttpRequest, HttpInterceptor.Context) - Method in interface com.hotels.styx.server.HttpRouter
 
RULE_arglist - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
RULE_expression - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
RULE_function - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
RULE_string - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
RULE_stringComparison - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
RULE_stringExpression - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
ruleNames - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
ruleNames - Static variable in class com.hotels.styx.server.routing.ConditionParser
 

S

secure(boolean) - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler.Builder
 
sempred(RuleContext, int, int) - Method in class com.hotels.styx.server.routing.ConditionParser
 
ServerConnector - Interface in com.hotels.styx.server.netty
ServerConnector.
ServerConnectorFactory - Interface in com.hotels.styx.server.netty
Connector factory.
ServerEnvironment - Class in com.hotels.styx.server
ServerEnvironment providing a default metric registry of CodaHaleMetricRegistry.
ServerEnvironment() - Constructor for class com.hotels.styx.server.ServerEnvironment
 
ServerEnvironment(MetricRegistry) - Constructor for class com.hotels.styx.server.ServerEnvironment
 
sessionCacheSize(long) - Method in class com.hotels.styx.server.HttpsConnectorConfig.Builder
 
sessionCacheSize() - Method in class com.hotels.styx.server.HttpsConnectorConfig
Size of the cache used for storing SSL session objects.
sessionTimeout(long, TimeUnit) - Method in class com.hotels.styx.server.HttpsConnectorConfig.Builder
 
sessionTimeoutMillis() - Method in class com.hotels.styx.server.HttpsConnectorConfig
Timeout for the cached SSL session objects.
setBossThreadsCount(Integer) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setCompressResponses(boolean) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setConnectors(NettyServerConfig.Connectors) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setHttpConnector(HttpConnectorConfig) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setHttpsConnector(HttpsConnectorConfig) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setKeepAliveTimeoutMillis(Integer) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setMaxChunkSize(Integer) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setMaxConnectionsCount(Integer) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setMaxHeaderSize(Integer) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setMaxInitialLength(Integer) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setMetricsRegistry(MetricRegistry) - Method in class com.hotels.styx.server.netty.NettyServerBuilder
 
setNioAcceptorBacklog(Integer) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setProtocolConnector(ServerConnector) - Method in class com.hotels.styx.server.netty.NettyServerBuilder
 
setRequestTimeoutMs(Integer) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
setWorkerThreadsCount(Integer) - Method in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
shutdownAction() - Method in class com.hotels.styx.server.netty.NettyServerBuilder
 
shutdownAction(Runnable) - Method in class com.hotels.styx.server.netty.NettyServerBuilder
 
SQUOTE - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
SQUOTE - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
SslContexts - Class in com.hotels.styx.server.netty
Methods for producing SslContext classes.
sslProvider(String) - Method in class com.hotels.styx.server.HttpsConnectorConfig.Builder
 
sslProvider() - Method in class com.hotels.styx.server.HttpsConnectorConfig
Implementation of SSL functionality, can be JDK or OPENSSL.
StandardHttpRouter - Class in com.hotels.styx.server
Simple Http Router.
StandardHttpRouter() - Constructor for class com.hotels.styx.server.StandardHttpRouter
 
startingTimeMillies() - Method in class com.hotels.styx.server.track.CurrentRequest
 
state() - Method in class com.hotels.styx.server.track.CurrentRequest
 
StaticFileHandler - Class in com.hotels.styx.server.handlers
HTTP handler that provides a static file.
StaticFileHandler(File) - Constructor for class com.hotels.styx.server.handlers.StaticFileHandler
Constructor.
string() - Method in class com.hotels.styx.server.routing.ConditionParser.ArglistContext
 
string(int) - Method in class com.hotels.styx.server.routing.ConditionParser.ArglistContext
 
string() - Method in class com.hotels.styx.server.routing.ConditionParser
 
string() - Method in class com.hotels.styx.server.routing.ConditionParser.StringExpressionContext
 
string() - Method in class com.hotels.styx.server.routing.ConditionParser.StringMatchesRegexpContext
 
StringCompareExpressionContext(ConditionParser.ExpressionContext) - Constructor for class com.hotels.styx.server.routing.ConditionParser.StringCompareExpressionContext
 
stringComparison() - Method in class com.hotels.styx.server.routing.ConditionParser.StringCompareExpressionContext
 
stringComparison() - Method in class com.hotels.styx.server.routing.ConditionParser
 
StringComparisonContext(ParserRuleContext, int) - Constructor for class com.hotels.styx.server.routing.ConditionParser.StringComparisonContext
 
StringComparisonContext() - Constructor for class com.hotels.styx.server.routing.ConditionParser.StringComparisonContext
 
StringContext(ParserRuleContext, int) - Constructor for class com.hotels.styx.server.routing.ConditionParser.StringContext
 
StringEqualsStringContext(ConditionParser.StringComparisonContext) - Constructor for class com.hotels.styx.server.routing.ConditionParser.StringEqualsStringContext
 
stringExpression() - Method in class com.hotels.styx.server.routing.ConditionParser.StringEqualsStringContext
 
stringExpression(int) - Method in class com.hotels.styx.server.routing.ConditionParser.StringEqualsStringContext
 
stringExpression() - Method in class com.hotels.styx.server.routing.ConditionParser
 
stringExpression() - Method in class com.hotels.styx.server.routing.ConditionParser.StringIsPresentContext
 
stringExpression() - Method in class com.hotels.styx.server.routing.ConditionParser.StringMatchesRegexpContext
 
StringExpressionContext(ParserRuleContext, int) - Constructor for class com.hotels.styx.server.routing.ConditionParser.StringExpressionContext
 
StringIsPresentContext(ConditionParser.StringComparisonContext) - Constructor for class com.hotels.styx.server.routing.ConditionParser.StringIsPresentContext
 
StringMatchesRegexpContext(ConditionParser.StringComparisonContext) - Constructor for class com.hotels.styx.server.routing.ConditionParser.StringMatchesRegexpContext
 
SubExpressionContext(ConditionParser.ExpressionContext) - Constructor for class com.hotels.styx.server.routing.ConditionParser.SubExpressionContext
 

T

T__0 - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
T__0 - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
T__1 - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
T__1 - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
T__2 - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
T__2 - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
T__3 - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
T__3 - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
T__4 - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
T__4 - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
tokenNames - Static variable in class com.hotels.styx.server.routing.ConditionLexer
Deprecated.
tokenNames - Static variable in class com.hotels.styx.server.routing.ConditionParser
Deprecated.
toNettyResponse(LiveHttpResponse) - Method in interface com.hotels.styx.server.netty.connectors.ResponseTranslator
 
toString() - Method in class com.hotels.styx.server.HttpConnectorConfig
 
toString() - Method in class com.hotels.styx.server.HttpsConnectorConfig
 
trackRequest(LiveHttpRequest, Supplier<String>) - Method in class com.hotels.styx.server.track.CurrentRequestTracker
 
trackRequest(LiveHttpRequest) - Method in class com.hotels.styx.server.track.CurrentRequestTracker
 
trackRequest(LiveHttpRequest, Supplier<String>) - Method in interface com.hotels.styx.server.track.RequestTracker
 
trackRequest(LiveHttpRequest) - Method in interface com.hotels.styx.server.track.RequestTracker
 
type() - Method in interface com.hotels.styx.server.ConnectorConfig
 
type() - Method in class com.hotels.styx.server.HttpConnectorConfig
 
type() - Method in class com.hotels.styx.server.HttpsConnectorConfig
 
type() - Method in interface com.hotels.styx.server.netty.ServerConnector
 

U

uniqueIdSupplier(UniqueIdSupplier) - Method in class com.hotels.styx.server.netty.codec.NettyToStyxRequestDecoder.Builder
 
UniqueIdSupplier - Interface in com.hotels.styx.server
A Unique id provider.
UniqueIdSuppliers - Class in com.hotels.styx.server
Useful unique id suppliers.
unwiseCharEncoder(UnwiseCharsEncoder) - Method in class com.hotels.styx.server.netty.codec.NettyToStyxRequestDecoder.Builder
 
UnwiseCharsEncoder - Interface in com.hotels.styx.server.netty.codec
Encode the configured unwise chars.
userEventTriggered(ChannelHandlerContext, Object) - Method in class com.hotels.styx.server.netty.handlers.RequestTimeoutHandler
 
UUID_VERSION_ONE_SUPPLIER - Static variable in class com.hotels.styx.server.UniqueIdSuppliers
A unique ID supplier which uses a UUID Version One implementation.

V

visitAndExpression(ConditionParser.AndExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by the AndExpression labeled alternative in ConditionParser.expression().
visitAndExpression(ConditionParser.AndExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by the AndExpression labeled alternative in ConditionParser.expression().
visitArglist(ConditionParser.ArglistContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by ConditionParser.arglist().
visitArglist(ConditionParser.ArglistContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by ConditionParser.arglist().
visitErrorNode(ErrorNode) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
visitFunction(ConditionParser.FunctionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by ConditionParser.function().
visitFunction(ConditionParser.FunctionContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by ConditionParser.function().
visitNotExpression(ConditionParser.NotExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by the NotExpression labeled alternative in ConditionParser.expression().
visitNotExpression(ConditionParser.NotExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by the NotExpression labeled alternative in ConditionParser.expression().
visitOrExpression(ConditionParser.OrExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by the OrExpression labeled alternative in ConditionParser.expression().
visitOrExpression(ConditionParser.OrExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by the OrExpression labeled alternative in ConditionParser.expression().
visitString(ConditionParser.StringContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by ConditionParser.string().
visitString(ConditionParser.StringContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by ConditionParser.string().
visitStringCompareExpression(ConditionParser.StringCompareExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by the StringCompareExpression labeled alternative in ConditionParser.expression().
visitStringCompareExpression(ConditionParser.StringCompareExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by the StringCompareExpression labeled alternative in ConditionParser.expression().
visitStringEqualsString(ConditionParser.StringEqualsStringContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by the StringEqualsString labeled alternative in ConditionParser.stringComparison().
visitStringEqualsString(ConditionParser.StringEqualsStringContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by the StringEqualsString labeled alternative in ConditionParser.stringComparison().
visitStringExpression(ConditionParser.StringExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by ConditionParser.stringExpression().
visitStringExpression(ConditionParser.StringExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by ConditionParser.stringExpression().
visitStringIsPresent(ConditionParser.StringIsPresentContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by the StringIsPresent labeled alternative in ConditionParser.stringComparison().
visitStringIsPresent(ConditionParser.StringIsPresentContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by the StringIsPresent labeled alternative in ConditionParser.stringComparison().
visitStringMatchesRegexp(ConditionParser.StringMatchesRegexpContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by the StringMatchesRegexp labeled alternative in ConditionParser.stringComparison().
visitStringMatchesRegexp(ConditionParser.StringMatchesRegexpContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by the StringMatchesRegexp labeled alternative in ConditionParser.stringComparison().
visitSubExpression(ConditionParser.SubExpressionContext) - Method in class com.hotels.styx.server.routing.ConditionBaseVisitor
Visit a parse tree produced by the SubExpression labeled alternative in ConditionParser.expression().
visitSubExpression(ConditionParser.SubExpressionContext) - Method in interface com.hotels.styx.server.routing.ConditionVisitor
Visit a parse tree produced by the SubExpression labeled alternative in ConditionParser.expression().
visitTerminal(TerminalNode) - Method in class com.hotels.styx.server.routing.ConditionBaseListener
VOCABULARY - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
VOCABULARY - Static variable in class com.hotels.styx.server.routing.ConditionParser
 

W

WebServerConnectorFactory - Class in com.hotels.styx.server.netty
Creates connectors for web servers.
WebServerConnectorFactory() - Constructor for class com.hotels.styx.server.netty.WebServerConnectorFactory
 
workerExecutor(NettyExecutor) - Method in class com.hotels.styx.server.netty.NettyServerBuilder
 
workerThreadsCount - Variable in class com.hotels.styx.server.netty.NettyServerConfig.Builder
 
workerThreadsCount() - Method in class com.hotels.styx.server.netty.NettyServerConfig
Worker threads are those performing all the asynchronous I/O operation on the inbound channel.
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class com.hotels.styx.server.netty.handlers.ChannelStatisticsHandler
 
WS - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
WS - Static variable in class com.hotels.styx.server.routing.ConditionParser
 

X

xOriginsHeader(CharSequence) - Method in class com.hotels.styx.server.netty.connectors.HttpPipelineHandler.Builder
 

_

_ATN - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
_ATN - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
_decisionToDFA - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
_decisionToDFA - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
_serializedATN - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
_serializedATN - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
_sharedContextCache - Static variable in class com.hotels.styx.server.routing.ConditionLexer
 
_sharedContextCache - Static variable in class com.hotels.styx.server.routing.ConditionParser
 
A B C D E F G H I K M N O P Q R S T U V W X _ 
Skip navigation links

Copyright © 2013–2020 Hotels.com. All rights reserved.