|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
public static final class LocalServerReceiver.Builder
Builder.
Implementation is not thread-safe.
| Constructor Summary | |
|---|---|
LocalServerReceiver.Builder()
|
|
| Method Summary | |
|---|---|
LocalServerReceiver |
build()
Builds the LocalServerReceiver. |
String |
getHost()
Returns the host name to use. |
int |
getPort()
Returns the port to use or -1 to select an unused port. |
LocalServerReceiver.Builder |
setHost(String host)
Sets the host name to use. |
LocalServerReceiver.Builder |
setPort(int port)
Sets the port to use or -1 to select an unused port. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalServerReceiver.Builder()
| Method Detail |
|---|
public LocalServerReceiver build()
LocalServerReceiver.
public String getHost()
public LocalServerReceiver.Builder setHost(String host)
public int getPort()
-1 to select an unused port.
public LocalServerReceiver.Builder setPort(int port)
-1 to select an unused port.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||