Package org.eclipse.jetty.http
Class HttpTester.Request
java.lang.Object
org.eclipse.jetty.http.HttpFields.Mutable
org.eclipse.jetty.http.HttpTester.Message
org.eclipse.jetty.http.HttpTester.Request
- All Implemented Interfaces:
Iterable<HttpField>,HttpFields,HttpParser.HttpHandler,HttpParser.RequestHandler
- Enclosing class:
- HttpTester
public static class HttpTester.Request
extends HttpTester.Message
implements HttpParser.RequestHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpFields
HttpFields.Immutable, HttpFields.Mutable -
Field Summary
Fields inherited from interface org.eclipse.jetty.http.HttpFields
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInfo()getUri()voidvoidvoidvoidstartRequest(String method, String uri, HttpVersion version) This is the method called by parser when the HTTP request line is parsedtoString()Methods inherited from class org.eclipse.jetty.http.HttpTester.Message
badMessage, content, contentComplete, earlyEOF, generate, getContent, getContentBytes, getVersion, headerComplete, isComplete, isEarlyEOF, messageComplete, parsedHeader, setContent, setContent, setContent, setVersion, setVersionMethods inherited from class org.eclipse.jetty.http.HttpFields.Mutable
add, add, add, add, add, addCSV, addCSV, addDateField, asImmutable, clear, computeField, computeField, ensureField, equals, getField, hashCode, iterator, listIterator, put, put, put, put, put, putDateField, putDateField, putLongField, putLongField, remove, remove, remove, size, streamMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.http.HttpFields
asString, contains, contains, contains, contains, contains, contains, get, get, getCSV, getCSV, getDateField, getField, getField, getFieldNames, getFieldNamesCollection, getFields, getFields, getLongField, getLongField, getQualityCSV, getQualityCSV, getQualityCSV, getValues, getValuesList, getValuesList, isEqualToMethods inherited from interface org.eclipse.jetty.http.HttpParser.HttpHandler
badMessage, content, contentComplete, earlyEOF, headerComplete, messageComplete, parsedHeader, parsedTrailerMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Request
public Request()
-
-
Method Details
-
startRequest
Description copied from interface:HttpParser.RequestHandlerThis is the method called by parser when the HTTP request line is parsed- Specified by:
startRequestin interfaceHttpParser.RequestHandler- Parameters:
method- The methoduri- The raw bytes of the URI. These are copied into a ByteBuffer that will not be changed until this parser is reset and reused.version- the http version in use
-
getMethod
-
getUri
-
setMethod
-
setURI
-
getInfo
- Specified by:
getInfoin classHttpTester.Message
-
toString
- Overrides:
toStringin classHttpFields.Mutable
-
setHeader
-