public static class AvroHttpRequest.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroHttpRequest> implements org.apache.avro.data.RecordBuilder<AvroHttpRequest>
Modifier and Type | Method and Description |
---|---|
AvroHttpRequest |
build() |
AvroHttpRequest.Builder |
clearHeader()
Clears the value of the 'header' field.
|
AvroHttpRequest.Builder |
clearHttpMethod()
Clears the value of the 'httpMethod' field.
|
AvroHttpRequest.Builder |
clearInputStream()
Clears the value of the 'inputStream' field.
|
AvroHttpRequest.Builder |
clearPathInfo()
Clears the value of the 'pathInfo' field.
|
AvroHttpRequest.Builder |
clearQueryString()
Clears the value of the 'queryString' field.
|
AvroHttpRequest.Builder |
clearRequestUrl()
Clears the value of the 'requestUrl' field.
|
List<HeaderEntry> |
getHeader()
Gets the value of the 'header' field.
|
CharSequence |
getHttpMethod()
Gets the value of the 'httpMethod' field.
|
ByteBuffer |
getInputStream()
Gets the value of the 'inputStream' field.
|
CharSequence |
getPathInfo()
Gets the value of the 'pathInfo' field.
|
CharSequence |
getQueryString()
Gets the value of the 'queryString' field.
|
CharSequence |
getRequestUrl()
Gets the value of the 'requestUrl' field.
|
boolean |
hasHeader()
Checks whether the 'header' field has been set.
|
boolean |
hasHttpMethod()
Checks whether the 'httpMethod' field has been set.
|
boolean |
hasInputStream()
Checks whether the 'inputStream' field has been set.
|
boolean |
hasPathInfo()
Checks whether the 'pathInfo' field has been set.
|
boolean |
hasQueryString()
Checks whether the 'queryString' field has been set.
|
boolean |
hasRequestUrl()
Checks whether the 'requestUrl' field has been set.
|
AvroHttpRequest.Builder |
setHeader(List<HeaderEntry> value)
Sets the value of the 'header' field.
|
AvroHttpRequest.Builder |
setHttpMethod(CharSequence value)
Sets the value of the 'httpMethod' field.
|
AvroHttpRequest.Builder |
setInputStream(ByteBuffer value)
Sets the value of the 'inputStream' field.
|
AvroHttpRequest.Builder |
setPathInfo(CharSequence value)
Sets the value of the 'pathInfo' field.
|
AvroHttpRequest.Builder |
setQueryString(CharSequence value)
Sets the value of the 'queryString' field.
|
AvroHttpRequest.Builder |
setRequestUrl(CharSequence value)
Sets the value of the 'requestUrl' field.
|
public List<HeaderEntry> getHeader()
public AvroHttpRequest.Builder setHeader(List<HeaderEntry> value)
value
- The value of 'header'.public boolean hasHeader()
public AvroHttpRequest.Builder clearHeader()
public CharSequence getRequestUrl()
public AvroHttpRequest.Builder setRequestUrl(CharSequence value)
value
- The value of 'requestUrl'.public boolean hasRequestUrl()
public AvroHttpRequest.Builder clearRequestUrl()
public CharSequence getPathInfo()
public AvroHttpRequest.Builder setPathInfo(CharSequence value)
value
- The value of 'pathInfo'.public boolean hasPathInfo()
public AvroHttpRequest.Builder clearPathInfo()
public CharSequence getQueryString()
public AvroHttpRequest.Builder setQueryString(CharSequence value)
value
- The value of 'queryString'.public boolean hasQueryString()
public AvroHttpRequest.Builder clearQueryString()
public CharSequence getHttpMethod()
public AvroHttpRequest.Builder setHttpMethod(CharSequence value)
value
- The value of 'httpMethod'.public boolean hasHttpMethod()
public AvroHttpRequest.Builder clearHttpMethod()
public ByteBuffer getInputStream()
public AvroHttpRequest.Builder setInputStream(ByteBuffer value)
value
- The value of 'inputStream'.public boolean hasInputStream()
public AvroHttpRequest.Builder clearInputStream()
public AvroHttpRequest build()
build
in interface org.apache.avro.data.RecordBuilder<AvroHttpRequest>
Copyright © 2017 The Apache Software Foundation. All rights reserved.