public class KontraktorHttpRequestImpl extends Object implements KontraktorHttpRequest
| Constructor and Description |
|---|
KontraktorHttpRequestImpl(ByteBuffer buffer,
int len)
WARNING: the buffer must be processed synchronous or copied as the buffer is reused.
|
| Modifier and Type | Method and Description |
|---|---|
void |
append(ByteBuffer buf,
int len) |
String |
getAccept() |
String |
getPath(int i) |
int |
getPathLen() |
StringBuilder |
getText() |
protected boolean |
hadHeader() |
boolean |
isComplete() |
boolean |
isGET() |
boolean |
isPOST() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFullPathpublic KontraktorHttpRequestImpl(ByteBuffer buffer, int len)
buffer - len - public void append(ByteBuffer buf, int len)
append in interface KontraktorHttpRequestprotected boolean hadHeader()
public boolean isComplete()
isComplete in interface KontraktorHttpRequestpublic String getAccept()
getAccept in interface KontraktorHttpRequestpublic StringBuilder getText()
getText in interface KontraktorHttpRequestpublic boolean isGET()
isGET in interface KontraktorHttpRequestpublic String getPath(int i)
getPath in interface KontraktorHttpRequestpublic boolean isPOST()
isPOST in interface KontraktorHttpRequestpublic int getPathLen()
Copyright © 2015. All rights reserved.